projects
/
~bandali
/
configs
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
[sxhkd] reapply .Xmodmap when changing lang to ENG
[~bandali/configs]
/
sxhkd
/
.local
/
bin
/
toggle-mouse
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
1
#!/bin/bash
2
3
touchpad_off="$(synclient -l | grep TouchpadOff | cut -d'=' -f 2 | xargs)"
4
5
if [ "$touchpad_off" = "0" ]; then
6
synclient TouchpadOff=1
7
unclutter -idle 1 &
8
else
9
synclient TouchpadOff=0
10
killall unclutter
11
fi