cortilectl

master
Daniel Napora 2023-05-19 13:35:28 +02:00
parent 21437bbd60
commit daec65a44f
1 changed files with 30 additions and 0 deletions

30
bin/cortilectl 100755
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