diff options
author | Michael Hunteman <michael@huntm.net> | 2023-09-01 14:39:18 -0500 |
---|---|---|
committer | Michael Hunteman <michael@huntm.net> | 2023-09-01 14:39:18 -0500 |
commit | f6e1d9cc70e678839b8f59390f7e484c7db355ef (patch) | |
tree | bd6859ad96d0d5c740f995f3af05483dbd10b2a7 | |
parent | 31aefef78042ef05b8e5b27b362f80c4ab2220f3 (diff) |
Add thinkpad config
-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 |