dotfiles/homedir/.config/frozenbar/bin/simple_launcher_run
fbt c78cb78ff0 init
Signed-off-by: fbt <fbt@fleshless.org>
2017-05-03 16:10:13 +03:00

13 lines
241 B
Bash
Executable File

#!/usr/bin/zsh
frozenbar_cfgdir="$XDG_CONFIG_HOME/frozenbar"
declare e cmd position=1
declare -a cmds
while IFS=':' read -r name _ cmd args; do
cmds+=( "$cmd" ${(s: :)args} )
done < "$frozenbar_cfgdir/rc.d/simple_launcher.rc"
$cmds[$1]