launch Emacs in daemon mode
[~bandali/configs] / sxhkd / .local / bin / toggle-mouse
CommitLineData
a8a12804
AB
1#!/bin/bash
2
3touchpad_off="$(synclient -l | grep TouchpadOff | cut -d'=' -f 2 | xargs)"
4
5if [ "$touchpad_off" = "0" ]; then
6 synclient TouchpadOff=1
7 unclutter -idle 1 &
8else
9 synclient TouchpadOff=0
10 killall unclutter
11fi