diff options
Diffstat (limited to '.config/sway')
-rw-r--r-- | .config/sway/thinkpad | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.config/sway/thinkpad b/.config/sway/thinkpad new file mode 100644 index 0000000..49e6aa9 --- /dev/null +++ b/.config/sway/thinkpad @@ -0,0 +1,21 @@ +input * { + xkb_options caps:escape + natural_scroll enabled +} + +output * bg ~/pictures/wallpaper.png fill +exec swayidle -w \ + timeout 300 'swaylock -f -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+F4 exec swaylock -i /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png --scaling fill + +# Volume +bindsym --locked $mod+F3 amixer set Master 2%+ +bindsym --locked $mod+F2 exec amixer set Master 2%- +bindsym --locked $mod+F1 exec amixer set Master toggle + +include ~/.config/sway/bar |