diff options
Diffstat (limited to '.config/sway/desktop')
-rw-r--r-- | .config/sway/desktop | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/sway/desktop b/.config/sway/desktop index 966229e..b62bd31 100644 --- a/.config/sway/desktop +++ b/.config/sway/desktop @@ -7,6 +7,16 @@ input * { xkb_options caps:escape } +output * bg ~/pictures/wallpaper.png fill +exec swayidle -w \ + timeout 300 'swaylock -i /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png --scaling fill' \ + timeout 600 'swaymsg "output * dpms off"' \ + resume 'swaymsg "output * dpms on"' + +# Lock +bindsym $mod+XF86Sleep exec swaylock -c 00000000 +bindsym $mod+Pause exec swaylock -i /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png --scaling fill + # Volume bindsym --locked XF86AudioRaiseVolume exec amixer set Master 2%+ bindsym --locked XF86AudioLowerVolume exec amixer set Master 2%- |