12
homedir/.config/frozenbar/bin/simple_launcher_run
Executable file
12
homedir/.config/frozenbar/bin/simple_launcher_run
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/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]
|
Reference in New Issue
Block a user