summaryrefslogtreecommitdiff
path: root/i3/toggle_mouse.sh
blob: 9343810aa8cb3f7e51b8606d0d826487bea96ea7 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
if [ -z "$(synclient | grep TouchpadOff | grep 1)" ]; then
    synclient TouchpadOff=1
    unclutter -idle 0 &
else
    synclient TouchpadOff=0
    unclutter -idle 5 &
fi