This is a collection of dotfiles and scripts for my bspwm setup
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/sh |
|
|
|
device="04F3200A:00 04F3:2373" |
|
state=$(xinput --list-props "$device" | grep "Device Enabled" | sed -nr 's/.*:\t([0-9])/\1/p') |
|
|
|
if [ "$state" = "0" ]; then |
|
xinput set-prop "$device" 140 1 |
|
else |
|
xinput set-prop "$device" 140 0 |
|
fi |
|
|
|
|