jgtint2-pipe and menusettings-pipe update

This commit is contained in:
Daniel Napora 2021-01-28 21:47:31 +01:00
parent c6878a8988
commit 7a73154f06
2 changed files with 11 additions and 5 deletions

View File

@ -203,7 +203,7 @@ out2+=("^sep($APPS_POS)")
out2+=("$APPS_MAIN,mb-setvar apps_in_submenu=false;mb-jgtools main ipc")
out2+=("$APPS_SUB,mb-setvar apps_in_submenu=true;mb-jgtools main ipc")
out2+=("^sep(Reset)")
out2+=("$RESET,mb-jgtools reset main")
out2+=("$RESET,mb-reset mainmenu")
out2+=("^tag(left_edit)")
out2+=("^sep($LEFTPANEL)")
out2+=("$EDIT $OWN_COMMANDS ($TOP), geany $HOME/.config/mabox/places-prepend.csv, geany")
@ -226,20 +226,20 @@ out2+=("^sep($PIPEMENUS)")
out2+=("^sep()")
out2+=("$EDIT $OWN_COMMANDS ($BOTTOM), geany $HOME/.config/mabox/places-append.csv, geany")
out2+=("^sep(Reset)")
out2+=("$RESET,mb-jgtools reset left")
out2+=("$RESET,mb-reset leftpanel")
out2+=("^tag(right_edit)")
out2+=("^sep($RIGHTPANEL)")
out2+=("$EDIT $OWN_COMMANDS ($TOP), geany $HOME/.config/mabox/right-prepend.csv, geany")
out2+=("$EDIT $OWN_COMMANDS ($BOTTOM), geany $HOME/.config/mabox/right-append.csv, geany")
out2+=("^sep(Reset)")
out2+=("$RESET,mb-jgtools reset right")
out2+=("$RESET,mb-reset rightpanel")
out2+=("^tag(exit_edit)")
out2+=("^sep($EXITMENU)")
out2+=("$EDIT $EXITMENU, geany $HOME/.config/mabox/exit.csv, geany")
out2+=("^sep(Reset)")
out2+=("$RESET,mb-jgtools reset logout")
out2+=("$RESET,mb-reset logout")
##

View File

@ -15,6 +15,7 @@ case $LANG in
TINT2_EDITOR_GUI="tint2conf (GUI)"
CHOOSE_TINT2="Wybierz Tint2..."
RESTART_TINT2="Restartuj Tint2"
RELOAD_TINT2="Przeładuj Tint2"
CONFIGURE="Konfiguruj"
;;
es*)
@ -26,6 +27,7 @@ case $LANG in
TINT2_EDITOR_GUI="Editor gráfico"
CHOOSE_TINT2="Elegir un panel..."
RESTART_TINT2="Reiniciar panel(es)"
RELOAD_TINT2="Reload Tint2"
CONFIGURE="Configurar"
;;
*)
@ -36,7 +38,8 @@ case $LANG in
TINT2_EDITOR="Choose Tint2 to edit"
TINT2_EDITOR_GUI="tint2conf (GUI)"
CHOOSE_TINT2="Choose Tint2..."
RESTART_TINT2="Restart Tint2"
RESTART_TINT2="Restart Tint2"
RELOAD_TINT2="Reload Tint2"
CONFIGURE="Configure"
;;
esac
@ -45,6 +48,7 @@ esac
out+=("^sep($TITLE)")
out+=("$CHOOSE_TINT2,$TZEN")
out+=("$RESTART_TINT2,mb-tint2restart")
out+=("$RELOAD_TINT2,killall -SIGUSR1 tint2")
if [ "$(pidof tint2)" ];then
out+=("^sep($TINT2_EDITOR_GUI)")
@ -57,6 +61,8 @@ out+=("^sep($TINT2_EDITOR_GUI)")
TINT2="$DEFAULT_TINT2RC"
fi
out+=("$CONFIGURE <i>$TINT2</i>,tint2conf $TINT")
out+=("$EDIT_TINT2 <i>$TINT2</i>,geany $TINT")
fi
done < <(pgrep -a tint2)
fi