diff --git a/bin/cortilectl b/bin/cortilectl new file mode 100755 index 0000000..9cc6b76 --- /dev/null +++ b/bin/cortilectl @@ -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