From f2cfcf6008d66b354ca892f2676b74115fcf9d45 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sat, 22 Jun 2019 11:29:27 +0300 Subject: Touchpad enable/disable hints for mobile --- .config/i3/config##mobile.Linux.Luchs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/i3/config##mobile.Linux.Luchs b/.config/i3/config##mobile.Linux.Luchs index 0aabeab..f09618f 100644 --- a/.config/i3/config##mobile.Linux.Luchs +++ b/.config/i3/config##mobile.Linux.Luchs @@ -84,6 +84,8 @@ bindsym XF86AudioNext exec mpc next bindsym XF86MonBrightnessUp exec xbacklight -inc 5 bindsym XF86MonBrightnessDown exec 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"`}} ' + # Make the currently focused window a scratchpad bindsym $mod+Shift+minus move scratchpad -- cgit v1.2.3-70-g09d2