cortilectl
This commit is contained in:
parent
21437bbd60
commit
daec65a44f
30
bin/cortilectl
Executable file
30
bin/cortilectl
Executable 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
|
Loading…
Reference in New Issue
Block a user