]> git.vanrenterghem.biz Git - Dotty.git/commitdiff
Support pass-through in i3 using $mod-t.
authorFrederik Vanrenterghem <frederik@vanrenterghem.biz>
Wed, 9 Apr 2025 14:25:51 +0000 (22:25 +0800)
committerFrederik Vanrenterghem <frederik@vanrenterghem.biz>
Wed, 9 Apr 2025 14:25:51 +0000 (22:25 +0800)
i3/.config/i3/config

index d6451e0e762d489992d428854e2905fbbb9ae4ed..4e1ce19e930f6acf18a7f8ae94c21e0c81286d7d 100644 (file)
@@ -17,6 +17,13 @@ exec_always --no-startup-id xrandr --output eDP-1 --mode 2048x1152 --primary \
 
 set $mod Mod4
 
 
 set $mod Mod4
 
+# Press modifier+t to ignore further modifier keys, until pressed again
+mode "pass-through" {
+    bindsym $mod+t mode "default"
+}
+
+bindsym $mod+t mode "pass-through"
+
 # Move the current workspace to the next output
 # (effectively toggles when you only have two outputs)
 bindsym $mod+x move workspace to output next
 # Move the current workspace to the next output
 # (effectively toggles when you only have two outputs)
 bindsym $mod+x move workspace to output next