diff options
Diffstat (limited to '')
-rwxr-xr-x | scripts/toggle-touchpad.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/toggle-touchpad.sh b/scripts/toggle-touchpad.sh index 5a30528..7a82391 100755 --- a/scripts/toggle-touchpad.sh +++ b/scripts/toggle-touchpad.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/sh ID=$(xinput list | grep -Eo 'TouchPad\s*id\=[0-9]{1,2}' | grep -Eo '[0-9]{1,2}') STATE=$(xinput list-props "$ID" | awk '/Device Enabled/ {print $4}') |