diff options
author | azahi <azahi@teknik.io> | 2019-09-04 00:37:09 +0300 |
---|---|---|
committer | azahi <azahi@teknik.io> | 2019-09-04 00:37:09 +0300 |
commit | c12e737a4f3bb78bf6b77c9b2bfd93610be2937f (patch) | |
tree | 41ef9ae2238e96c1fc4b12b4a00ec05e4a39e064 /scripts/toggle-trackpoint.sh | |
parent | Replace alsa-mixer with external shell alternative (diff) |
Bump 0.15.4
Diffstat (limited to 'scripts/toggle-trackpoint.sh')
-rwxr-xr-x | scripts/toggle-trackpoint.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/toggle-trackpoint.sh b/scripts/toggle-trackpoint.sh index b0b3501..2d54670 100755 --- a/scripts/toggle-trackpoint.sh +++ b/scripts/toggle-trackpoint.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/sh ID=$(xinput list | grep -Eo 'TrackPoint\s*id\=[0-9]{1,2}' | grep -Eo '[0-9]{1,2}') STATE=$(xinput list-props "$ID" | awk '/Device Enabled/ {print $4}') |