This commit is contained in:
2025-12-21 22:03:45 +01:00
parent fa8724f9af
commit 719014ab3d
3 changed files with 5 additions and 7 deletions

View File

@@ -227,4 +227,3 @@ xorg-xkill
xorg-xrandr
xorg-xwayland
yazi
zen-browser-bin

View File

@@ -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
}

View File

@@ -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