From f6e1d9cc70e678839b8f59390f7e484c7db355ef Mon Sep 17 00:00:00 2001 From: Michael Hunteman Date: Fri, 1 Sep 2023 14:39:18 -0500 Subject: Add thinkpad config --- .config/sway/thinkpad | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .config/sway/thinkpad 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 -- cgit v1.2.3