From 98cce052b661b8740cba0f63a9a42690884c502d Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 12 Oct 2021 12:27:58 +0300 Subject: i3, luchs: proper touchpad toggle --- .config/i3/config##h.luchs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 5 bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 5 -bindsym 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"`}} ' +bindsym 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"`}} ' # make the currently focused window a scratchpad bindcode $mod+Shift+20 move scratchpad -- cgit v1.2.3-70-g09d2