system, office
parent
84c0183f8e
commit
60ee68eda8
|
@ -24,6 +24,7 @@ case $LANG in
|
||||||
LAUNCH="Uruchom"
|
LAUNCH="Uruchom"
|
||||||
GRAPHICS="Grafika"
|
GRAPHICS="Grafika"
|
||||||
GAMES="Gry"
|
GAMES="Gry"
|
||||||
|
OFFICE="Biuro"
|
||||||
REG_MENU="Regeneruj Menu"
|
REG_MENU="Regeneruj Menu"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
@ -39,7 +40,8 @@ case $LANG in
|
||||||
INSTALLING="Installing"
|
INSTALLING="Installing"
|
||||||
LAUNCH="Launch"
|
LAUNCH="Launch"
|
||||||
GRAPHICS="Graphics"
|
GRAPHICS="Graphics"
|
||||||
GAMES="Gry"
|
GAMES="Games"
|
||||||
|
OFFICE="Office"
|
||||||
REG_MENU="Regenerate Menu"
|
REG_MENU="Regenerate Menu"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
@ -106,6 +108,26 @@ for curApp in "${gry[@]}"; do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
menuSubmenuEnd
|
menuSubmenuEnd
|
||||||
|
menuSubmenu 'system' "System"
|
||||||
|
system=('manjaro-printer' 'bleachbit' 'virtualbox')
|
||||||
|
for curApp in "${system[@]}"; do
|
||||||
|
if ! type "$curApp" &> /dev/null; then
|
||||||
|
menuItem "$INSTALL ${curApp^}" "terminator --title='$INSTALLING ${curApp^}' --command='sudo pacman -S $curApp'"
|
||||||
|
else
|
||||||
|
menuItem "$LAUNCH ${curApp^}" "$curApp"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
menuSubmenuEnd
|
||||||
|
menuSubmenu 'office' "$OFFICE"
|
||||||
|
system=('abiword' 'gnumeric' 'libreoffice-still' 'cherrytree' 'zim')
|
||||||
|
for curApp in "${system[@]}"; do
|
||||||
|
if ! type "$curApp" &> /dev/null; then
|
||||||
|
menuItem "$INSTALL ${curApp^}" "terminator --title='$INSTALLING ${curApp^}' --command='sudo pacman -S $curApp'"
|
||||||
|
else
|
||||||
|
menuItem "$LAUNCH ${curApp^}" "$curApp"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
menuSubmenuEnd
|
||||||
menuSeparator
|
menuSeparator
|
||||||
menuItem "$REG_MENU" "mb-regenerate-menu"
|
menuItem "$REG_MENU" "mb-regenerate-menu"
|
||||||
menuEnd
|
menuEnd
|
||||||
|
|
Loading…
Reference in New Issue