diff --git a/config b/config index 0e00071..4eab32d 100644 --- a/config +++ b/config @@ -88,10 +88,10 @@ output * bg /home/"$USER"/pictures/wallpaper/underwater.png fill exec swayidle -w \ timeout 600 'sh /home/"$USER"/.local/bin/scripts/idle/brightness.sh timeout' resume 'sh /home/"$USER"/.local/bin/scripts/idle/brightness.sh resume' \ - timeout 900 'notify-send -t 20000 "Locking soon"' \ - timeout 900 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ - timeout 1000 'elogind suspend' \ - before-sleep 'swaylock' + timeout 880 'notify-send -t 20000 "Suspending soon"' \ + timeout 900 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ + timeout 1000 'loginctl suspend' \ + before-sleep 'swaylock' ### Input configuration @@ -123,6 +123,14 @@ input "type:touchpad" { click_method clickfinger } +input "11551:21068:Wacom_Co.,Ltd._Pen_and_multitouch_sensor" { + map_to_output 'Lenovo Group Limited M14t V30AG13W' +} + +input "11551:21068:Wacom_Co.,Ltd._Pen_and_multitouch_sensor_Stylus" { + map_to_output 'Lenovo Group Limited M14t V30AG13W' +} + ### Key bindings # # Basics: @@ -299,8 +307,8 @@ bindgesture swipe:4:right workspace next_on_output bindgesture swipe:3:left workspace prev bindgesture swipe:3:right workspace next -bindgesture pinch:outward fullscreen enable -bindgesture pinch:inward fullscreen disable +bindgesture pinch:3:outward fullscreen enable +bindgesture pinch:3:inward fullscreen disable bindgesture pinch:4:outward floating disable bindgesture pinch:4:inward floating enable