home · contact · privacy
Fix. master
authorChristian Heller <c.heller@plomlompom.de>
Mon, 9 Feb 2026 01:32:21 +0000 (02:32 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 9 Feb 2026 01:32:21 +0000 (02:32 +0100)
trixie/aptmark/t490s
trixie/copy/desktop/home/plom/.config/sway/config

index 7d0d7227288c7d94f000c64bf71ef6b6e4860013..8391d14332448cfbf50a2708e241f904b68c0ad2 100644 (file)
@@ -4,4 +4,4 @@ wpasupplicant
 firmware-iwlwifi
 # for battery management, we assume good defaults
 tlp
 firmware-iwlwifi
 # for battery management, we assume good defaults
 tlp
-
+#
index 51cc54324d248f789b0e046fc0740a1e9e6385f5..3a0e2c023155d52a90adb0c64aaa238b6c373017 100644 (file)
@@ -28,16 +28,11 @@ bar {
 set $mod Mod4
 floating_modifier $mod
 
 set $mod Mod4
 floating_modifier $mod
 
-# replace pointer buttons buggy on my t490s
-set $pseudo_btn_left $mod+y
-set $pseudo_btn_middle $mod+u
-set $pseudo_btn_right $mod+i
-bindsym --no-repeat $pseudo_btn_left seat * cursor press BTN_LEFT
-bindsym --no-repeat --release $pseudo_btn_left seat * cursor release BTN_LEFT
-bindsym --no-repeat $pseudo_btn_middle seat * cursor press BTN_MIDDLE
-bindsym --no-repeat --release $pseudo_btn_middle seat * cursor release BTN_MIDDLE
-bindsym --no-repeat $pseudo_btn_right seat * cursor press BTN_RIGHT
-bindsym --no-repeat --release $pseudo_btn_right seat * cursor release BTN_RIGHT
+# move pointer in 1px units
+bindsym --no-repeat $mod+h seat * cursor move -1 0
+bindsym --no-repeat $mod+j seat * cursor move 0 1
+bindsym --no-repeat $mod+k seat * cursor move 0 -1
+bindsym --no-repeat $mod+l seat * cursor move 1 0
 
 # program launcher
 bindsym $mod+d                 exec wmenu-run
 
 # program launcher
 bindsym $mod+d                 exec wmenu-run
@@ -63,10 +58,10 @@ bindsym $mod+Shift+Up               move up
 bindsym $mod+Shift+Right       move right
 
 # resize windows
 bindsym $mod+Shift+Right       move right
 
 # resize windows
-bindsym $mod+h                 resize shrink width 1 px or 1 ppt
-bindsym $mod+l                 resize grow width 1 px or 1 ppt
-bindsym $mod+j                 resize shrink height
-bindsym $mod+k                 resize grow height
+bindsym $mod+Shift+h           resize shrink width 1 ppt
+bindsym $mod+Shift+j           resize shrink height 1 ppt
+bindsym $mod+Shift+k           resize grow height 1 ppt
+bindsym $mod+Shift+l           resize grow width 1 ppt
 
 # toggle fullscreen for focused window
 bindsym $mod+f                 fullscreen
 
 # toggle fullscreen for focused window
 bindsym $mod+f                 fullscreen