summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2021-10-12 12:27:58 +0300
committerYigit Sever2021-10-12 12:27:58 +0300
commit98cce052b661b8740cba0f63a9a42690884c502d (patch)
treefec050c5187cd6792195b4dfb35edf6b45e76ff6
parent660c29c253defafdea7ac0fb006a5e6781edc00f (diff)
downloaddotfiles-98cce052b661b8740cba0f63a9a42690884c502d.tar.gz
dotfiles-98cce052b661b8740cba0f63a9a42690884c502d.tar.bz2
dotfiles-98cce052b661b8740cba0f63a9a42690884c502d.zip
i3, luchs: proper touchpad toggle
-rw-r--r--.config/i3/config##h.luchs2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/i3/config##h.luchs b/.config/i3/config##h.luchs
index 18af074..2f2ce15 100644
--- a/.config/i3/config##h.luchs
+++ b/.config/i3/config##h.luchs
@@ -80,7 +80,7 @@ bindsym XF86Tools exec --no-startup-id mpc toggle # for mpd/ncmpcpp
80bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 5 80bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 5
81bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 5 81bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 5
82 82
83bindsym XF86TouchpadToggle exec --no-startup-id perl -e '{`xinput list-props 11` =~ /^.*Device Enabled.+?(\d)$/m and {$1 ? `xinput --disable 11 && dunstify -a "touchpad" "disabled"` : `xinput --enable 11 && dunstify -a "touchpad" "enabled"`}} ' 83bindsym XF86TouchpadToggle exec --no-startup-id perl -e '{`xinput list-props "ELAN1200:00 04F3:3045 Touchpad"` =~ /^.*Device Enabled.+?(\d)$/m and {$1 ? `xinput --disable "ELAN1200:00 04F3:3045 Touchpad" && dunstify -a "touchpad" "disabled"` : `xinput --enable "ELAN1200:00 04F3:3045 Touchpad" && dunstify -a "touchpad" "enabled"`}} '
84 84
85# make the currently focused window a scratchpad 85# make the currently focused window a scratchpad
86bindcode $mod+Shift+20 move scratchpad 86bindcode $mod+Shift+20 move scratchpad