Add swayidle config
This commit is contained in:
parent
f64493433d
commit
aa0e5a99a6
2 changed files with 3 additions and 0 deletions
|
@ -45,6 +45,7 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||||
|
|
||||||
exec pipewire
|
exec pipewire
|
||||||
exec pipewire-pulse
|
exec pipewire-pulse
|
||||||
|
exec swayidle
|
||||||
|
|
||||||
font pango:DejaVu Sans Mono 8
|
font pango:DejaVu Sans Mono 8
|
||||||
focus_follows_mouse no
|
focus_follows_mouse no
|
||||||
|
|
2
templates/.config/swayidle/config
Normal file
2
templates/.config/swayidle/config
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
timeout 900 'swaylock -f -c 000000'
|
||||||
|
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"'
|
Loading…
Add table
Reference in a new issue