#!/usr/bin/env sh
run () {
killall swhks
swhks & pkexec swhkd
}
close () {
sudo killall swhkd
if [ "$1" = "-k" ]; then
close
else
run
fi