From c12e737a4f3bb78bf6b77c9b2bfd93610be2937f Mon Sep 17 00:00:00 2001 From: azahi Date: Wed, 4 Sep 2019 00:37:09 +0300 Subject: Bump 0.15.4 --- scripts/toggle-touchpad.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/toggle-touchpad.sh') 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}') -- cgit 1.4.1