master
Daniel Napora 2016-04-12 20:51:00 +02:00
parent e0659d266b
commit f52f15a5e1
2 changed files with 10 additions and 10 deletions

View File

@ -54,25 +54,25 @@ getSessions(){ # read any saved sessions from save-sessions file
loadChooserMenu(){
if type "$CZEN" &>/dev/null;then # mb-conkyzen script found
menuItem "Conky Chooser" "$CZEN"
menuItem "Wybierz Conky" "$CZEN"
fi
}
loadNewsessionMenu(){
if type "$CZEN" &>/dev/null;then # mb-conkyzen script found
menuItem "New Conky Session" "$CZEN -z"
menuItem "Nowa sesja Conky" "$CZEN -z"
fi
}
loadReloadMenu(){
if type "$CSESSION" &>/dev/null;then # mb-conky-session script found
menuItem "Reload Conkys" "$CSESSION"
menuItem "Przeładuj Conky" "$CSESSION"
fi
}
loadSavedsessionSubmenu(){
if type "$CSESSION" &>/dev/null;then # mb-conky-session script found
menuSubmenu "Sessions" "Saved Sessions"
menuSubmenu "Sessions" "Zachowane sesje"
getSessions
menuSubmenuEnd
fi
@ -86,7 +86,7 @@ loadPinMenu(){
}
loadEditMenu(){
menuItem "Default conkyrc" "geany $CONKYDEFAULT"
menuItem "Domyślne conkyrc" "geany $CONKYDEFAULT"
if [[ $(pidof conky) ]];then
menuSubmenu "RunningConky" "Running Conkys"
while read -r session ;do # get running conkys from sessionfile

View File

@ -38,7 +38,7 @@ loadTEditmenu(){
TINT2=${TINT#$HOME/.config/}
if [[ $TINT = tint2 ]];then
TINT="$TINT2RC"
TINT2="Default tint2rc"
TINT2="Domyślny tint2rc"
fi
menuItem "$TINT2" "geany $TINT"
fi
@ -48,9 +48,9 @@ loadTEditmenu(){
}
getTint2s(){
menuSubmenu "EditTint2" "Edit Tint2s"
menuSubmenu "EditTint2" "Edytuj Tint2"
if type mb-tint2edit &>/dev/null;then # mb-tint2edit script found
menuItem "Tint2 Editor" "mb-tint2edit"
menuItem "Edytor Tint2" "mb-tint2edit"
loadTEditmenu
else
loadTEditmenu
@ -60,14 +60,14 @@ getTint2s(){
loadChoosermenu(){
if type $TZEN &>/dev/null;then # mb-tint2zen script found
menuItem "Tint2 Chooser" "$TZEN"
menuItem "Wybierz Tint2" "$TZEN"
fi
}
loadRestartmenu(){
if [ "$(pidof tint2)" ];then
if type mb-tint2restart &>/dev/null;then # mb-tint2restart script found
menuItem "Restart Tint2" "mb-tint2restart"
menuItem "Restartuj Tint2" "mb-tint2restart"
fi
fi
}