1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-12 20:41:16 +02:00

wayland: unclutter not needed due to patched dwl & changed some autostart programs

This commit is contained in:
tiyn
2025-07-06 06:30:51 +02:00
parent 466f023fca
commit a92906b244
2 changed files with 12 additions and 3 deletions

7
.config/wayland/swayidle.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/sh
exec swayidle -w \
timeout 20 'systemctl suspend-then-hibernate'
before-sleep 'swaylock'
# timeout 1500 "notify-send -u critical 'Power' 'Laptop will suspend in 5 minutes!'"\
# timeout 1740 "notify-send -u critical 'Power' 'System will suspend in 1 minute!'"\
# timeout 1800 "systemctl suspend-then-hibernate"