scripts/i3blocks/Arch/touchpad.sh

10 lines
166 B
Bash
Executable File

#!/bin/bash
Status=$(synclient -l | grep Touchpad | awk '{print $3}')
if [ "$Status" = "0" ];then
echo -e "  Enable "
else
echo -e "  Disable "
fi