diff --git a/.config/dotfiles/packages.txt b/.config/dotfiles/packages.txt index 8cb856b..3012dec 100644 --- a/.config/dotfiles/packages.txt +++ b/.config/dotfiles/packages.txt @@ -227,4 +227,3 @@ xorg-xkill xorg-xrandr xorg-xwayland yazi -zen-browser-bin diff --git a/.config/nvim/lua/plugins/treesitter.lua b/.config/nvim/lua/plugins/treesitter.lua index e2060cc..24515ad 100644 --- a/.config/nvim/lua/plugins/treesitter.lua +++ b/.config/nvim/lua/plugins/treesitter.lua @@ -2,11 +2,6 @@ return { "nvim-treesitter/nvim-treesitter", build = ":TSUpdate", config = function() - local config = require("nvim-treesitter.configs") - config.setup({ - ensure_installed = {"lua", "javascript", "c", "zig", "vim", "rasi", "cpp", "markdown", "markdown_inline"}, - highlight = { enable = true }, - indent = { enable = true }, - }) + require('nvim-treesitter').install({ 'zig', 'c', 'vim', 'rasi', 'cpp', 'javascript', 'markdown', 'markdown_inline', 'lua' }):wait(300000) -- wait max. 5 minutes end } diff --git a/.config/sway/config b/.config/sway/config index cb4602f..34ee8cd 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -101,6 +101,10 @@ exec swayidle -w \ timeout 300 'swaylock -f -c 000000' \ timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ before-sleep 'swaylock -f -c 000000' + +for_window [class=".*"] inhibit_idle fullscreen +for_window [app_id=".*"] inhibit_idle fullscreen + # # This will lock your screen after 300 seconds of inactivity, then turn off # your displays after another 300 seconds, and turn your screens back on when