cortilectl

This commit is contained in:
Daniel Napora 2023-05-19 13:35:28 +02:00
parent 21437bbd60
commit daec65a44f

30
bin/cortilectl Executable file
View File

@ -0,0 +1,30 @@
#!/bin/bash
# cortilectl - helper script for cortile tiling manager
# Cortile config file
CONFFILE="$HOME/.config/cortile/config.toml"
start() {
cortile &
}
stop() {
pkill cortile
}
toggle() {
:
}
editconf() {
xdg-open ${CONFFILE}
}
case "$1" in
start) start;;
stop) stop;;
toggle) toggle;;
editconf) editconf;;
*):;;
esac