From d971fff4277bf2f605ffa5b9a074dfc5df2937a7 Mon Sep 17 00:00:00 2001 From: Jeschli Date: Tue, 14 Apr 2020 20:46:47 +0200 Subject: j reagenzglas: touchpad dis/enable by F1/F2. --- jeschli/1systems/reagenzglas/i3-configuration.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'jeschli/1systems') diff --git a/jeschli/1systems/reagenzglas/i3-configuration.nix b/jeschli/1systems/reagenzglas/i3-configuration.nix index 576553e79..88f63426d 100644 --- a/jeschli/1systems/reagenzglas/i3-configuration.nix +++ b/jeschli/1systems/reagenzglas/i3-configuration.nix @@ -34,6 +34,9 @@ let bindsym $mod+x exec ${pkgs.rofi}/bin/rofi -modi window -show window -auto-select + bindsym $mod+F1 exec xinput --list | grep Touchpad | sed 's/.*id=\([0-9][0-9]\).*/\1/' | xargs xinput disable + bindsym $mod+F2 exec xinput --list | grep Touchpad | sed 's/.*id=\([0-9][0-9]\).*/\1/' | xargs xinput enable + # There also is the (new) i3-dmenu-desktop which only displays applications # shipping a .desktop file. It is a wrapper around dmenu, so you need that # installed. -- cgit v1.2.3