update
parent
c42dab1c3b
commit
6a7618ce86
22
bin/mcc
22
bin/mcc
|
@ -23,7 +23,9 @@ case $LANG in
|
|||
THEMES="Motywy"
|
||||
SYSTEM_DESC="Ustawienia oraz informacje systemowe i sprzętowe"
|
||||
MONITORS="<b>Monitor(y)</b>"
|
||||
SOFTWARE_DESC="Aktualizacja - Instalacja Programów - Preferowane programy\n"
|
||||
AUTOSTART_DESC="Openbox posiada dwa mechanizmy autostartu"
|
||||
LOOK_DESC="Narzędzia do konfiguracji wyglądu\n"
|
||||
EDIT_FILE="Edutuj plik"
|
||||
TINT_DESC="<b>Konfigurator paneli tint2</b>\nTutaj możesz wybrać konfigurację panelu Tint2.\nW Maboxie dostępne są różne konfiguracje panelu tint2, możesz również dodać własne do katalogu <i>~/.config/tint2</i>."
|
||||
T_CONF="Konfigurator paneli tint2!!Konfiguracja wyglądu panelu"
|
||||
|
@ -53,7 +55,7 @@ case $LANG in
|
|||
;;
|
||||
*)
|
||||
MCC="\t\t\t\t\t\t <big>Mabox Control Center</big>\n\t\t\t\t "
|
||||
SYSTEM="System & Hardware"
|
||||
SYSTEM="System and Hardware"
|
||||
LOCALE_SETTINGS="Locale Settings"
|
||||
LANGUAGE_PACKAGES="Language Packages"
|
||||
KERNEL="Kernel"
|
||||
|
@ -62,7 +64,7 @@ case $LANG in
|
|||
KEYBOARD="Keyboard Settings"
|
||||
HARDWARE="Hardware Configuration"
|
||||
SOFTWARE="Software"
|
||||
LOOK="Look & Feel"
|
||||
LOOK="Look and Feel"
|
||||
TINT2="Tin2 Panel"
|
||||
SETTINGS="Settings"
|
||||
TINT2="Tint2 panel"
|
||||
|
@ -71,7 +73,9 @@ case $LANG in
|
|||
THEMES="Themes"
|
||||
SYSTEM_DESC="System and Hardware settings and information"
|
||||
MONITORS="<b>Monitor(s)</b>"
|
||||
SOFTWARE_DESC="Software installation and update - Preferred Applications.\n"
|
||||
AUTOSTART_DESC="Openbox uses two autostart methods"
|
||||
LOOK_DESC="Customize Look and Feel of your desktop.\n"
|
||||
EDIT_FILE="Edit file"
|
||||
TINT_DESC="<b>Tint2 panels Configurator</b>\nHere you can choose Tint2 panel(s) configuration.\nThere are some predefined configurations in Mabox, you can also add your own to <i>~/.config/tint2</i> directory."
|
||||
T_CONF="Configure tint2"
|
||||
|
@ -82,7 +86,7 @@ case $LANG in
|
|||
CONKY_CHOOSE="Choose Conky(s)"
|
||||
CONKY_RESTART="Reload Conky"
|
||||
CONKY_EDIT="Edit Conky"
|
||||
MENU_DESC="Main menu (<small>access it by right click, win+space shortcut or from panel icon</small>) have type to search functionality. Just start to type what you looking for.\n\n<i>There are also two <b>side-panels</b> available for quick access to file system locations for example.</i> You can add custom commands to both side-panels below</small>\n"
|
||||
MENU_DESC="Main menu (<small>access it by right click, win+space shortcut or from panel icon</small>) have type to search functionality. Just start to type what you looking for.\n\n<small><i>There are also two <b>side-panels</b> available for quick access to file system locations for example.</i> Below you can add custom commands to both side-panels.</small>\n"
|
||||
M_LEFT="\t\t\t<b>LEFT</b><small> (ctrl+tab)</small>"
|
||||
M_RIGHT="\t\t\t<b>RIGHT</b><small> (win+tab)</small>"
|
||||
M_LEFT_DESC="\n<small>Left panel\n - quick navigation\n - GTK Bookmarks\n - Virtualbox machines</small>\n"
|
||||
|
@ -140,13 +144,13 @@ yad --plug=$KEY --tabnum=1 --text="$SYSTEM_DESC" --columns=2 --align="center" --
|
|||
> $res1 &
|
||||
|
||||
# TAB2 Programy
|
||||
yad --plug=$KEY --tabnum=2 --text="Aktualizacja - Instalacja Programów - Preferowane programy" \
|
||||
--icons --read-dir=/usr/share/mcc/software --item-width=100 \
|
||||
yad --plug=$KEY --tabnum=2 --text="$SOFTWARE_DESC" \
|
||||
--icons --compact --read-dir=/usr/share/mcc/software --item-width=100 \
|
||||
> $res2 &
|
||||
|
||||
#TAB 3 AUTOSTART
|
||||
yad --plug=$KEY --tabnum=3 --borders=20 \
|
||||
--text="Openbox" \
|
||||
--text="<b>Openbox autostart</b>" \
|
||||
--columns=1 --form \
|
||||
--field="$AUTOSTART_DESC:LBL" "" \
|
||||
--field="Autostart XDG:FBTN" "yautostart" \
|
||||
|
@ -155,7 +159,7 @@ yad --plug=$KEY --tabnum=3 --borders=20 \
|
|||
> $res3 &
|
||||
|
||||
#TAB 4 WYGLĄD
|
||||
yad --plug=$KEY --tabnum=4 --text="Narzędzia do konfiguracji wyglądu " --icons --read-dir=/usr/share/mcc/appearance --item-width=100 \
|
||||
yad --plug=$KEY --tabnum=4 --text="$LOOK_DESC" --icons --compact --read-dir=/usr/share/mcc/appearance --item-width=100 \
|
||||
> $res4 &
|
||||
|
||||
#TAB 5 TINT2
|
||||
|
@ -204,7 +208,7 @@ yad --plug=$KEY --tabnum=8 --borders=20 \
|
|||
> $res8 &
|
||||
|
||||
#TAB 9 MOTYWY
|
||||
yad --plug=$KEY --tabnum=9 --borders=20 \
|
||||
yad --plug=$KEY --tabnum=9 --borders=2 \
|
||||
--text="<b>$MT_MNGR</b>\n $MT_MNGR_DESC" \
|
||||
--form --field="$MT_MNGR!preferences-desktop-theme:FBTN" "mb-obthemes" \
|
||||
> $res9 &
|
||||
|
@ -215,7 +219,7 @@ yad --window-icon=utilities-terminal \
|
|||
--tab="$SYSTEM" --tab="$SOFTWARE" --tab="Autostart" --tab="$LOOK" --tab="$TINT2"\
|
||||
--tab="Conky" --tab="Menu" --tab="$COMPOSITOR" --tab="$THEMES" \
|
||||
--title="Mabox Control Center" --image=/usr/share/icons/hicolor/64x64/apps/distributor-logo-mabox.png \
|
||||
--width=680 --image-on-top --text="$MCC" --no-buttons > $out &
|
||||
--width=680 --height=420 --image-on-top --text="$MCC" --no-buttons > $out &
|
||||
}
|
||||
|
||||
maindialog
|
||||
|
|
Loading…
Reference in New Issue