Personal configuration files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
464 B

#!/bin/sh
start() {
[ -x /usr/bin/screenkey ] &&
notify-send "Screenkey" "Started recording keys" \
--icon=blueman-keyboard
screenkey -s small -p bottom -f "Iosevka Custom" \
--bg-color "#0f111a" --font-color "#80859d"
}
stop() {
pgrep -x "screenkey" > /dev/null &&
notify-send "Screenkey" "Stopped recording keys" \
--icon=blueman-keyboard &&
pkill -f screenkey
}
case "$1" in
"start") start ;;
"stop") stop ;;
esac