diff --git a/HOME/.profile b/HOME/.profile index cd58e69..30df1aa 100644 --- a/HOME/.profile +++ b/HOME/.profile @@ -1,3 +1,4 @@ +export SYSTEMD_EDITOR=/usr/bin/nvim export EDITOR=/usr/bin/nvim export VISUAL=/usr/bin/nvim export TERMINAL=/usr/bin/kitty diff --git a/manjaro.sh b/manjaro.sh index ae44f39..0ce1da8 100644 --- a/manjaro.sh +++ b/manjaro.sh @@ -5,11 +5,22 @@ sudo ufw allow 80/tcp comment "web" sudo ufw allow 443/tcp comment "websecure" sudo ufw allow 10000:10100/tcp comment "generic" +# keyboard fix +echo 'XKBMODEL="pc105" +XKBLAYOUT="no" +XKBVARIANT="nodeadkeys" +XKBOPTIONS="caps:escape" + +BACKSPACE="guess"' | sudo tee /etc/default/keyboard + # general sudo systemctl enable --now sshd.service sudo systemctl enable --now fstrim.timer yay plymouth tldextract go nodejs unzip exa +# nvidia +yay cuda nvidia-settings nvidia-docker + # python yay python-pip pyenv ipython @@ -29,6 +40,7 @@ yay syncthings rclone sudo systemctl enable --now syncthing@hjalmarlucius.service systemctl --user daemon-reload systemctl --user enable --now rclone-gdrive.service +sudo ufw allow syncthing comment "Syncthing" # docker incl non-root daemon yay docker docker-compose dry-bin nvidia-docker docker-buildx @@ -65,3 +77,5 @@ yay plex-media-server qbittorrent discord teamviewer steam qalculate cmus ncspot sudo ufw allow 8010 comment "chromecast" sudo ufw allow 27031,27036/udp comment "Steam Link" sudo ufw allow 27036,27037/tcp comment "Steam Link" +sudo ufw allow to 224.0.0.1 comment "Multicast" +sudo ufw allow from 192.168.1.1 port 1900 to any proto udp comment "Multicast" diff --git a/nvim/init.lua b/nvim/init.lua index 251a868..ed3d43a 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -416,7 +416,7 @@ require("lazy").setup({ sources = cmp.config.sources({ { name = "path", - option = { trailing_slash = true }, + option = { trailing_slash = false }, }, }, { { name = "cmdline" } }), }) @@ -795,7 +795,7 @@ map("n", "q:", "", { noremap = true }) map({ "n", "v" }, "", "", { silent = true }) map("n", "e", [[:vnew ~/dotfiles/nvim/init.lua]], { noremap = true }) -map("n", "ww", [[:cd %:p:h]], { noremap = true }) +map("n", "ww", [[:cd %:p:h]], { noremap = true }) map("n", "", "noh", { silent = true, noremap = true }) map("", "", "", { silent = true, noremap = true }) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index f71310e..05ff0b2 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -142,11 +142,6 @@ bind Q kill-pane # clear selected pane bind-key b send-keys -R \; clear-history \; send-keys Enter -# present a menu of URLs to open from the visible pane. sweet. -bind u capture-pane \;\ - save-buffer /tmp/tmux-buffer \;\ - split-window -l 10 "urlview /tmp/tmux-buffer" - # Smart pane switching with awareness of Vim splits. # See: https://github.com/christoomey/vim-tmux-navigator is_vim="ps -o state= -o comm= -t '#{pane_tty}' \