diff --git a/config/hypr/hypridle_CMBOX.conf b/config/hypr/hypridle_CMBOX.conf new file mode 100644 index 0000000..0bf2b12 --- /dev/null +++ b/config/hypr/hypridle_CMBOX.conf @@ -0,0 +1,11 @@ +general { + lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances. + before_sleep_cmd = loginctl lock-session # lock before suspend. + after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display. +} + +listener { + timeout = 300 + on-timeout = python ~/linuxbox/black.py +} + diff --git a/config/nvim/init.lua b/config/nvim/init.lua index fac1a04..451107a 100644 --- a/config/nvim/init.lua +++ b/config/nvim/init.lua @@ -13,10 +13,6 @@ vim.opt.relativenumber = true vim.opt.termguicolors = true vim.opt.undofile = true vim.opt.signcolumn = "yes" -vim.g.netrw_banner = 0 -- gets rid of the annoying banner for netrw -vim.g.netrw_browse_split = 4 -- open in prior window -vim.g.netrw_altv = 1 -- change from left splitting to right splitting -vim.g.netrw_liststyle = 3 -- tree style view in netrw ------------------------------------------------------------------- -- Autocommands @@ -103,6 +99,7 @@ vim.pack.add({ { src = "https://github.com/saghen/blink.cmp" }, { src = "https://github.com/stevearc/conform.nvim" }, { src = "https://github.com/prichrd/netrw.nvim" }, + { src = "https://github.com/nvim-tree/nvim-tree.lua" }, }) ------------------------------------------------------------------- @@ -186,6 +183,7 @@ require("blink.cmp").setup({ }, fuzzy = { implementation = "lua" }, }) +require("nvim-tree").setup() ------------------------------------------------------------------- -- LSP config @@ -246,7 +244,8 @@ map("n", "N", "Nzzzv", { noremap = true, silent = true }) map("n", "g", ":LazyGitCurrentFile", { noremap = true, silent = true }) -- File browser -map("n", "e", ":25Lex", { noremap = true, silent = true }) +-- map("n", "e", ":25Lex", { noremap = true, silent = true }) +map("n", "e", ":NvimTreeToggle", { noremap = true, silent = true }) map("n", "f", ":Pick files", { noremap = true, silent = true }) map("n", "h", ":Pick help", { noremap = true, silent = true }) diff --git a/tmux.conf b/tmux.conf index b04ed86..00eb9aa 100644 --- a/tmux.conf +++ b/tmux.conf @@ -61,4 +61,4 @@ set-window-option -g window-status-current-format '#[bg=#303030,fg=#c6c6c6] #I ' set -g window-style 'bg=default,fg=#c6c6c6' set -g window-active-style 'bg=default,fg=#c6c6c6' set -g pane-border-style 'bg=#262626,fg=#000000' -set -g pane-active-border-style 'bg=#262626,fg=#000000' +set -g pane-active-border-style 'bg=#262626,fg=#555555' diff --git a/update_arch.sh b/update_arch.sh index df8ff8f..911829a 100755 --- a/update_arch.sh +++ b/update_arch.sh @@ -188,9 +188,14 @@ if [ "${ROLES[HYPERLAND]}" == "yes" ]; then touch ~/.config/hypr/hyprland_extra.conf fi + if [ -f ~/linuxbox/config/hypr/hypridle_$HOSTNAME.conf ]; then + ln -sf ~/linuxbox/config/hypr/hypridle_$HOSTNAME.conf ~/.config/hypr/hypridle.conf + else + ln -sf ~/linuxbox/config/hypr/hypridle.conf ~/.config/hypr/hypridle.conf + fi + ln -sf ~/linuxbox/config/hypr/hyprland.conf ~/.config/hypr/hyprland.conf ln -sf ~/linuxbox/wrappedhl ~/.local/bin/wrappedhl - ln -sf ~/linuxbox/config/hypr/hypridle.conf ~/.config/hypr/hypridle.conf ln -sf ~/linuxbox/config/hypr/hyprpaper.conf ~/.config/hypr/hyprpaper.conf ln -sf ~/linuxbox/config/gtk-3.0 ~/.config ln -sf ~/linuxbox/config/qt5ct ~/.config