diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-02-24 17:07:33 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-02-24 17:07:33 +0100 |
| commit | 468a789dbc4b1928c035d8590895efc533520a27 (patch) | |
| tree | 74cb056c37eaa50cd50491a7665608488ed4feb1 /bin/touchpad-toggle | |
| parent | f9883d2c3b3699d91e98feeffd7eece546f7c57e (diff) | |
| download | dotfiles-468a789dbc4b1928c035d8590895efc533520a27.tar.gz dotfiles-468a789dbc4b1928c035d8590895efc533520a27.tar.bz2 dotfiles-468a789dbc4b1928c035d8590895efc533520a27.zip | |
Updated file tree to match XDG base directory specification
Diffstat (limited to 'bin/touchpad-toggle')
| -rwxr-xr-x | bin/touchpad-toggle | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/bin/touchpad-toggle b/bin/touchpad-toggle deleted file mode 100755 index e4dc959..0000000 --- a/bin/touchpad-toggle +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -touchpad_name='ETPS/2 Elantech Touchpad' - -active="$(xinput list-props "$touchpad_name" | grep 'Device Enabled' | cut -f 3)" - -if [ "$active" -eq 1 ] -then - xinput disable "$touchpad_name" -else - xinput enable "$touchpad_name" -fi |
