This commit is contained in:
Daniel Ziltener 2024-01-30 23:58:37 +01:00
parent ff486d5813
commit f085f5862f
Signed by: zilti
GPG Key ID: B38976E82C9DAE42
3 changed files with 6 additions and 0 deletions

View File

@ -83,6 +83,7 @@
home-xdg-configuration-files-service-type
`(("sway/config" ,(local-file "./sway/sway"))
("swaylock/config" ,(local-file "./swaylock/config"))
("swayidle/config" ,(local-file "./swayidle/config"))
("waybar/config" ,(local-file "./waybar/config"))
("waybar/style.css" ,(local-file "./waybar/style.css"))
("fuzzel/fuzzel.ini" ,(local-file "./fuzzel/fuzzel.ini"))

View File

@ -281,5 +281,6 @@ exec wireplumber
exec shepherd
exec waybar
exec swaync
exec swayidle
include @sysconfdir@/sway/config.d/*

4
home/swayidle/config Normal file
View File

@ -0,0 +1,4 @@
timeout 300 'swaylock'
timeout 800 'swaymsg "output * dpms off"'
resume 'swaymsg "output * dpms on"'
before-sleep 'swaylock'