1
Files
wm-helpers/touchpad_toggle
2020-03-15 21:04:40 +03:00

9 lines
133 B
Bash

#!/bin/bash
if [[ $(xinput list 12|grep -c "This device is disabled") == "1" ]]; then
xinput enable 12
else
xinput disable 12
fi