.
This commit is contained in:
parent
ff486d5813
commit
f085f5862f
3 changed files with 6 additions and 0 deletions
|
@ -83,6 +83,7 @@
|
||||||
home-xdg-configuration-files-service-type
|
home-xdg-configuration-files-service-type
|
||||||
`(("sway/config" ,(local-file "./sway/sway"))
|
`(("sway/config" ,(local-file "./sway/sway"))
|
||||||
("swaylock/config" ,(local-file "./swaylock/config"))
|
("swaylock/config" ,(local-file "./swaylock/config"))
|
||||||
|
("swayidle/config" ,(local-file "./swayidle/config"))
|
||||||
("waybar/config" ,(local-file "./waybar/config"))
|
("waybar/config" ,(local-file "./waybar/config"))
|
||||||
("waybar/style.css" ,(local-file "./waybar/style.css"))
|
("waybar/style.css" ,(local-file "./waybar/style.css"))
|
||||||
("fuzzel/fuzzel.ini" ,(local-file "./fuzzel/fuzzel.ini"))
|
("fuzzel/fuzzel.ini" ,(local-file "./fuzzel/fuzzel.ini"))
|
||||||
|
|
|
@ -281,5 +281,6 @@ exec wireplumber
|
||||||
exec shepherd
|
exec shepherd
|
||||||
exec waybar
|
exec waybar
|
||||||
exec swaync
|
exec swaync
|
||||||
|
exec swayidle
|
||||||
|
|
||||||
include @sysconfdir@/sway/config.d/*
|
include @sysconfdir@/sway/config.d/*
|
||||||
|
|
4
home/swayidle/config
Normal file
4
home/swayidle/config
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
timeout 300 'swaylock'
|
||||||
|
timeout 800 'swaymsg "output * dpms off"'
|
||||||
|
resume 'swaymsg "output * dpms on"'
|
||||||
|
before-sleep 'swaylock'
|
Loading…
Reference in a new issue