11 lines
244 B
Plaintext
Executable File
11 lines
244 B
Plaintext
Executable File
# mode - change the current effective sxhkd configuration
|
|
|
|
if [ -n "$1" ]; then
|
|
pkill -x sxhkd
|
|
sxhkd -c ~/.config/sxhkd/$1 & disown
|
|
[ -f "~/.config/sxhkd/$1.sh" ] && ~/.config/sxhkd/$1.sh
|
|
echo "$1" > ~/.cache/statusbar/sxhkd_mode
|
|
|
|
exit
|
|
fi
|