mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2024-12-23 15:49:40 +01:00
12 lines
199 B
Plaintext
12 lines
199 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
num=$(ps aux | grep /usr/bin/screenkey | wc -l)
|
||
|
|
||
|
if [[ $num -eq 1 ]]; then
|
||
|
screenkey &
|
||
|
notify-send "Screenkey enabled."
|
||
|
else
|
||
|
pkill screenkey
|
||
|
notify-send "Screenkey disabled."
|
||
|
fi
|