MCC update for Jaskier
This commit is contained in:
parent
87bbd98e5b
commit
ade34784eb
228
bin/mcc
228
bin/mcc
@ -7,6 +7,11 @@ if hash btop 2>/dev/null; then
|
|||||||
else
|
else
|
||||||
BTOP="bpytop"
|
BTOP="bpytop"
|
||||||
fi
|
fi
|
||||||
|
if hash fastfetch 2>/dev/null; then
|
||||||
|
FETCH="fastfetch"
|
||||||
|
else
|
||||||
|
FETCH="neofetch"
|
||||||
|
fi
|
||||||
|
|
||||||
case $LANG in
|
case $LANG in
|
||||||
pl*)
|
pl*)
|
||||||
@ -30,7 +35,7 @@ case $LANG in
|
|||||||
CONKY="Conky"
|
CONKY="Conky"
|
||||||
MENU="Menu/Panele boczne"
|
MENU="Menu/Panele boczne"
|
||||||
THEMES="Motywy"
|
THEMES="Motywy"
|
||||||
HELP="Pomoc"
|
HELP="Uzyskaj Pomoc"
|
||||||
HELP_TXT="Visit <a href='https://manual.maboxlinux.org/en/'>Mabox Linux Manual</a> to learn more about Mabox. \nDo you have questions? Want to get involved?\nTake a look at our: <a href='https://maboxlinux.org/'>official website</a>, <a href='https://forum.maboxlinux.org/'>forum</a>, <a href='https://blog.maboxlinux.org/'>blog</a>\n \n<i>Mabox Linux is developed with passion in spare time.\nMabox is free and it will always be.\nIf you like Mabox you can help by making a small <a href='https://ko-fi.com/maboxlinux'>donation</a></i> \nThank you for choosing to use Mabox Linux!\n"
|
HELP_TXT="Visit <a href='https://manual.maboxlinux.org/en/'>Mabox Linux Manual</a> to learn more about Mabox. \nDo you have questions? Want to get involved?\nTake a look at our: <a href='https://maboxlinux.org/'>official website</a>, <a href='https://forum.maboxlinux.org/'>forum</a>, <a href='https://blog.maboxlinux.org/'>blog</a>\n \n<i>Mabox Linux is developed with passion in spare time.\nMabox is free and it will always be.\nIf you like Mabox you can help by making a small <a href='https://ko-fi.com/maboxlinux'>donation</a></i> \nThank you for choosing to use Mabox Linux!\n"
|
||||||
SYSTEM_DESC="Ustawienia oraz informacje systemowe i sprzętowe"
|
SYSTEM_DESC="Ustawienia oraz informacje systemowe i sprzętowe"
|
||||||
MONITORS="<b>Monitor(y)</b>"
|
MONITORS="<b>Monitor(y)</b>"
|
||||||
@ -49,9 +54,7 @@ case $LANG in
|
|||||||
T_LAUNCHERS="Dodaj/usuń programy do panelu"
|
T_LAUNCHERS="Dodaj/usuń programy do panelu"
|
||||||
TINT_DIR="Otwórz katalog <i>~/.config/tint2/</i> w menadżerze plików"
|
TINT_DIR="Otwórz katalog <i>~/.config/tint2/</i> w menadżerze plików"
|
||||||
CONKY_DESC="<b>Menedżer Conky</b><i>(beta)</i>\nWybierz uruchamiane Conky. W Maboxie dostępnych jest kilka konfiguracji Conky, możesz dodać własne do katalogu <i>~/.config/conky</i>."
|
CONKY_DESC="<b>Menedżer Conky</b><i>(beta)</i>\nWybierz uruchamiane Conky. W Maboxie dostępnych jest kilka konfiguracji Conky, możesz dodać własne do katalogu <i>~/.config/conky</i>."
|
||||||
CONKY_CHOOSE="Wybierz Conky"
|
|
||||||
CONKY_RESTART="Restartuj Conky"
|
CONKY_RESTART="Restartuj Conky"
|
||||||
CONKY_EDIT="Edytuj Conky"
|
|
||||||
OPEN_CONKYDIR="Otwórz katalog <i>~/.config/conky</i>"
|
OPEN_CONKYDIR="Otwórz katalog <i>~/.config/conky</i>"
|
||||||
MENU_DESC="Główne menu (<small>wywoływane przez: prawy klik, skrót win+spacja lub z ikony w panelu</small>) umożliwia wyszukiwanie, należy po prostu zacząć pisać np. nazwę programu.\n<small><i>Dostępne są również dwa <b>panele boczne</b>, umożliwiające szybki dostęp np. do systemu plików.</i>\nDo menu oraz paneli możesz dodawać swoje własne polecenia - <a href='https://blog.maboxlinux.org/how-to-add-custom-commands-to-menu-and-sidepanels/'>post na devblogu</a></small>"
|
MENU_DESC="Główne menu (<small>wywoływane przez: prawy klik, skrót win+spacja lub z ikony w panelu</small>) umożliwia wyszukiwanie, należy po prostu zacząć pisać np. nazwę programu.\n<small><i>Dostępne są również dwa <b>panele boczne</b>, umożliwiające szybki dostęp np. do systemu plików.</i>\nDo menu oraz paneli możesz dodawać swoje własne polecenia - <a href='https://blog.maboxlinux.org/how-to-add-custom-commands-to-menu-and-sidepanels/'>post na devblogu</a></small>"
|
||||||
M_EDIT_MAIN="Ulubione"
|
M_EDIT_MAIN="Ulubione"
|
||||||
@ -73,18 +76,18 @@ case $LANG in
|
|||||||
OWN_COMMANDS_TOP="(Góra)"
|
OWN_COMMANDS_TOP="(Góra)"
|
||||||
OWN_COMMANDS_BOTTOM="(Dół)"
|
OWN_COMMANDS_BOTTOM="(Dół)"
|
||||||
COMPOSITOR="Kompozytor"
|
COMPOSITOR="Kompozytor"
|
||||||
COMP_DESC="Menadżerem kompozycji w Maboxie jest <b>Picom</b> - fork Compton.\nSkrót klawiszowy do włączania/wyłączania menadżera kompozycji to (<b>win</b>+<b>p</b>)."
|
COMP_DESC="Menadżerem kompozycji w Maboxie jest <b>Picom</b> - fork Compton.\nSkrót klawiszowy do włączania/wyłączania menadżera kompozycji to (<b>win</b>+<b>p</b>).\n\nMabox dostarcza kilku plików konfiguracyjnych dla Picoma.\nMożesz je łatwo przełączać za pomocą Manadżera Picom."
|
||||||
COMP_GUI="Ustawienia"
|
COMP_GUI="Ustawienia"
|
||||||
COMP_EDIT="Edytuj plik konfiguracyjny"
|
COMP_EDIT="Menadżer Picom"
|
||||||
COMP_RESTART="Restart"
|
COMP_RESTART="Restart"
|
||||||
COMP_TOGGLE="Włącz/Wyłącz (<b>win</b>+<b>p</b>)"
|
COMP_TOGGLE="Włącz/Wyłącz (<b>win</b>+<b>p</b>)"
|
||||||
COMP_REMOVE="Usuń plik konfiguracyjny"
|
COMP_DIR="Otwórz katalog z konfiguracjami Picom"
|
||||||
COMP_DEFAULT="Przywróć domyślny plik konfiguracyjny"
|
|
||||||
MT_MNGR="Menedżer Motywów Maboxa"
|
MT_MNGR="Menedżer Motywów Maboxa"
|
||||||
MT_MNGR_DESC="\n<a href='https://manual.maboxlinux.org/en/configuration/theme-manager/'>Pomoc (online)</a>\nMotyw Maboxa składa się z:\n - tapety\n - wystroju GTK2/GTK3 oraz obramowania okien Openboxa\n - ustawień panelu Tint2\n - uruchamianych automatycznie Conky \n\nZa pomocą menedżera motywów możesz w wygodny sposób zapisywać swoje konfiguracje, a następnie dowolnie przełączać się między nimi."
|
MT_MNGR_DESC="\n<a href='https://manual.maboxlinux.org/en/configuration/theme-manager/'>Pomoc (online)</a>\nMotyw Maboxa składa się z:\n - tapety\n - wystroju GTK2/GTK3 oraz obramowania okien Openboxa\n - ustawień panelu Tint2\n - uruchamianych automatycznie Conky \n\nZa pomocą menedżera motywów możesz w wygodny sposób zapisywać swoje konfiguracje, a następnie dowolnie przełączać się między nimi."
|
||||||
COLORIZER_DESC="<b>Colorizer</b>\nUmożliwia zmianę kolorystyki elementów pulpitu Mabox.\nMoże również automatycznie generować kolorystykę na bazie tapety.\n<i>Zobacz video (online):</i> <a href='https://youtu.be/h50oeS7aFyM'>Colorizer - krótki przegląd</a>\n"
|
COLORIZER_DESC="<b>Colorizer</b>\nUmożliwia zmianę kolorystyki elementów pulpitu Mabox.\nMoże również automatycznie generować kolorystykę na bazie tapety.\n<i>Zobacz video (online):</i> <a href='https://youtu.be/h50oeS7aFyM'>Colorizer - krótki przegląd</a>\n"
|
||||||
COL_MODULES="Pojedyńcze Moduły (Zaawansowane)"
|
COL_MODULES="Moduły Główne"
|
||||||
COL_MENU="Colorizer Menu (Zaawansowane)"
|
COL_ADDONS="<i>dodatki:</i>"
|
||||||
|
COL_MENU="Colorizer RootMenu"
|
||||||
LNG="pl"
|
LNG="pl"
|
||||||
USER_LBL="użytkownik"
|
USER_LBL="użytkownik"
|
||||||
USERS_MSM="Użytkownicy"
|
USERS_MSM="Użytkownicy"
|
||||||
@ -99,6 +102,12 @@ case $LANG in
|
|||||||
DAYS_AGO="dni temu"
|
DAYS_AGO="dni temu"
|
||||||
MABOX_DESC="Twój lekki, szybki i funkcjonalny Linuksowy Desktop"
|
MABOX_DESC="Twój lekki, szybki i funkcjonalny Linuksowy Desktop"
|
||||||
ADVANCED="Zaawansowane"
|
ADVANCED="Zaawansowane"
|
||||||
|
FONTS="Czcionki"
|
||||||
|
FONT_DESC="<b>Czcionki</b>\nUżuj Menu Konfiguracji Czcionek aby ustawić czcionki dla:\n - Openbox - tytuł okna\n - Menu i Panele Boczne\n - czcionka GTK\n - Conky"
|
||||||
|
FONT_MENU="Menu Konfiguracji Czcionek"
|
||||||
|
FONT_INC="Powiększ Wszystkie"
|
||||||
|
FONT_DEC="Pomniejsz Wszystkie"
|
||||||
|
FONT_RESET="Resetyj Wszystkie"
|
||||||
;;
|
;;
|
||||||
es*)
|
es*)
|
||||||
TITLE="Centro de control Mabox"
|
TITLE="Centro de control Mabox"
|
||||||
@ -121,7 +130,7 @@ case $LANG in
|
|||||||
CONKY="Recuadro Conky"
|
CONKY="Recuadro Conky"
|
||||||
MENU="Menú y Paneles"
|
MENU="Menú y Paneles"
|
||||||
THEMES="Temas"
|
THEMES="Temas"
|
||||||
HELP="Help"
|
HELP="Get Help"
|
||||||
HELP_TXT="Visit <a href='https://manual.maboxlinux.org/es/'>Mabox Linux Manual</a> to learn more about Mabox. \nDo you have questions? Want to get involved?\nTake a look at our: <a href='https://maboxlinux.org/'>official website</a>, <a href='https://forum.maboxlinux.org/'>forum</a>, <a href='https://blog.maboxlinux.org/'>blog</a>\n \n<i>Mabox Linux is developed with passion in spare time.\nMabox is free and it will always be.\nIf you like Mabox you can help by making a small <a href='https://ko-fi.com/maboxlinux'>donation</a></i> \nThank you for choosing to use Mabox Linux!\n"
|
HELP_TXT="Visit <a href='https://manual.maboxlinux.org/es/'>Mabox Linux Manual</a> to learn more about Mabox. \nDo you have questions? Want to get involved?\nTake a look at our: <a href='https://maboxlinux.org/'>official website</a>, <a href='https://forum.maboxlinux.org/'>forum</a>, <a href='https://blog.maboxlinux.org/'>blog</a>\n \n<i>Mabox Linux is developed with passion in spare time.\nMabox is free and it will always be.\nIf you like Mabox you can help by making a small <a href='https://ko-fi.com/maboxlinux'>donation</a></i> \nThank you for choosing to use Mabox Linux!\n"
|
||||||
SYSTEM_DESC="Ajustes e información del sistema y de hardware"
|
SYSTEM_DESC="Ajustes e información del sistema y de hardware"
|
||||||
MONITORS="<b>Monitor(es)</b>"
|
MONITORS="<b>Monitor(es)</b>"
|
||||||
@ -139,10 +148,8 @@ case $LANG in
|
|||||||
T_RESTART="Reiniciar panel tint2"
|
T_RESTART="Reiniciar panel tint2"
|
||||||
T_LAUNCHERS="Add/remove launchers..."
|
T_LAUNCHERS="Add/remove launchers..."
|
||||||
TINT_DIR="Abrir la carpeta <i>~/.config/tint2/</i> "
|
TINT_DIR="Abrir la carpeta <i>~/.config/tint2/</i> "
|
||||||
CONKY_DESC="<b>Gestor de recuadro Conky</b><i>(beta)</i>\nElija el recuadro Conky que desea ejecutar. Existen varios ajustes predefinidos de recuadros Conky, y además puede agregar nuevos en este directorio <i>~/.config/conky</i> ."
|
CONKY_DESC="<b>Conky (on steroids)</b>\nConky in Mabox has been equipped with additional powers not available in any other Linux distribution!\n\nRight click on any Conky to see handy context menu... <i>try it now!</i>\n\nYou can also define your own left-click command (or a multi-command menu)."
|
||||||
CONKY_CHOOSE="Seleccionar recuadros Conky"
|
|
||||||
CONKY_RESTART="Recargar recuadro Conky"
|
CONKY_RESTART="Recargar recuadro Conky"
|
||||||
CONKY_EDIT="Editar recuadro Conky"
|
|
||||||
OPEN_CONKYDIR="Abrir la carpeta <i>~/.config/conky</i> "
|
OPEN_CONKYDIR="Abrir la carpeta <i>~/.config/conky</i> "
|
||||||
MENU_DESC="Menu principal (<small>accede con clic derecho, teclas Super+barra de espacio o desde el ícono del panel</small>) activa escribe sobre buscar. Sólo empieza a escribir el término que estas buscando.\n<small><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 menus and side-panels - <a href='https://blog.maboxlinux.org/how-to-add-custom-commands-to-menu-and-sidepanels/'>blogpost</a></small>"
|
MENU_DESC="Menu principal (<small>accede con clic derecho, teclas Super+barra de espacio o desde el ícono del panel</small>) activa escribe sobre buscar. Sólo empieza a escribir el término que estas buscando.\n<small><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 menus and side-panels - <a href='https://blog.maboxlinux.org/how-to-add-custom-commands-to-menu-and-sidepanels/'>blogpost</a></small>"
|
||||||
M_EDIT_MAIN="Favoritos"
|
M_EDIT_MAIN="Favoritos"
|
||||||
@ -164,18 +171,18 @@ case $LANG in
|
|||||||
OWN_COMMANDS_TOP="(TOP)"
|
OWN_COMMANDS_TOP="(TOP)"
|
||||||
OWN_COMMANDS_BOTTOM="(BOTTOM)"
|
OWN_COMMANDS_BOTTOM="(BOTTOM)"
|
||||||
COMPOSITOR="Compositor gráfico"
|
COMPOSITOR="Compositor gráfico"
|
||||||
COMP_DESC="<b>Picom</b> se usa como gestor gráfico en Mabox"
|
COMP_DESC="<b>Picom</b> is used as composite manager in Mabox.\n\nWith the Picom Manager you can choose which of the several available configurations you want to use. You can also add your own.\n\n"
|
||||||
COMP_GUI="Configuración"
|
COMP_GUI="Configuración"
|
||||||
COMP_EDIT="Editar el archivo de configuración"
|
COMP_EDIT="Picom Manager"
|
||||||
COMP_RESTART="Reiniciar compositor gráfico"
|
COMP_RESTART="Reiniciar compositor gráfico"
|
||||||
COMP_TOGGLE="Activar/desactivar compositor (<b>win</b>+<b>p</b>)"
|
COMP_TOGGLE="Activar/desactivar compositor (<b>win</b>+<b>p</b>)"
|
||||||
COMP_REMOVE="Eliminar archivo picom.conf"
|
COMP_DIR="Open Picom config directory"
|
||||||
COMP_DEFAULT="Reestablecer compositor grafico por defecto"
|
|
||||||
MT_MNGR="Gestor de Temas Mabox"
|
MT_MNGR="Gestor de Temas Mabox"
|
||||||
MT_MNGR_DESC="\n<a href='https://manual.maboxlinux.org/es/configuration/theme-manager/'>Help (online)</a>\nTemas Mabox consiste de:\n - fondos de pantalla\n - temas GTK2/GTK3\n - ajustes a tema Openbox\n - paneles Tint2 seleccionados\n - recuadros Conky seleccionados\n\nCon el gestor de Temas en Mabox puede fácilmente guardar nuevas configuraciones, y cambiar entre ellas."
|
MT_MNGR_DESC="\n<a href='https://manual.maboxlinux.org/es/configuration/theme-manager/'>Help (online)</a>\nTemas Mabox consiste de:\n - fondos de pantalla\n - temas GTK2/GTK3\n - ajustes a tema Openbox\n - paneles Tint2 seleccionados\n - recuadros Conky seleccionados\n\nCon el gestor de Temas en Mabox puede fácilmente guardar nuevas configuraciones, y cambiar entre ellas."
|
||||||
COLORIZER_DESC="<b>Colorizer</b>\nColorizer allows you to change the color of the Mabox desktop elements.\nIt can also automatically generate colors based on the wallpaper.\n<i>See video (online - YT):</i> <a href='https://youtu.be/h50oeS7aFyM'>Colorizer - overview</a>\n"
|
COLORIZER_DESC="<b>Colorizer</b>\nColorizer allows you to change the color of the Mabox desktop elements.\nIt can also generate themes based on the wallpaper colors or monochrome themes from color picked from screen.\n"
|
||||||
COL_MODULES="Individual Modules (advanced mode):"
|
COL_MODULES="Core Modules:"
|
||||||
COL_MENU="Colorizer Menu (advanced)"
|
COL_ADDONS="<i>addons:</i>"
|
||||||
|
COL_MENU="Colorizer RootMenu"
|
||||||
LNG="en"
|
LNG="en"
|
||||||
USER_LBL="user"
|
USER_LBL="user"
|
||||||
USERS_MSM="Users"
|
USERS_MSM="Users"
|
||||||
@ -190,6 +197,12 @@ case $LANG in
|
|||||||
DAYS_AGO="days ago"
|
DAYS_AGO="days ago"
|
||||||
MABOX_DESC="Your fast, lightweight and functional Linux Desktop"
|
MABOX_DESC="Your fast, lightweight and functional Linux Desktop"
|
||||||
ADVANCED="Advanced"
|
ADVANCED="Advanced"
|
||||||
|
FONTS="Fonts"
|
||||||
|
FONT_DESC="<b>Fonts</b>\nUse Font Config Menu to set fonts for:\n - Openbox window title\n - Menus and Side panels\n - GTK font\n - Conkies"
|
||||||
|
FONT_MENU="Font Config Menu"
|
||||||
|
FONT_INC="Increase All"
|
||||||
|
FONT_DEC="Decrease All"
|
||||||
|
FONT_RESET="Reset All"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
TITLE="Mabox Control Center"
|
TITLE="Mabox Control Center"
|
||||||
@ -212,7 +225,7 @@ case $LANG in
|
|||||||
CONKY="Conky"
|
CONKY="Conky"
|
||||||
MENU="Menu/SidePanels"
|
MENU="Menu/SidePanels"
|
||||||
THEMES="Themes"
|
THEMES="Themes"
|
||||||
HELP="Help"
|
HELP="Get Help"
|
||||||
HELP_TXT="Visit <a href='https://manual.maboxlinux.org/en/'>Mabox Linux Manual</a> to learn more about Mabox. \nDo you have questions? Want to get involved?\nTake a look at our: <a href='https://maboxlinux.org/'>official website</a>, <a href='https://forum.maboxlinux.org/'>forum</a>, <a href='https://blog.maboxlinux.org/'>blog</a>\n \n<i>Mabox Linux is developed with passion in spare time.\nMabox is free and it will always be.\nIf you like Mabox you can help by making a small <a href='https://ko-fi.com/maboxlinux'>donation</a></i> \nThank you for choosing to use Mabox Linux!\n"
|
HELP_TXT="Visit <a href='https://manual.maboxlinux.org/en/'>Mabox Linux Manual</a> to learn more about Mabox. \nDo you have questions? Want to get involved?\nTake a look at our: <a href='https://maboxlinux.org/'>official website</a>, <a href='https://forum.maboxlinux.org/'>forum</a>, <a href='https://blog.maboxlinux.org/'>blog</a>\n \n<i>Mabox Linux is developed with passion in spare time.\nMabox is free and it will always be.\nIf you like Mabox you can help by making a small <a href='https://ko-fi.com/maboxlinux'>donation</a></i> \nThank you for choosing to use Mabox Linux!\n"
|
||||||
SYSTEM_DESC="System and Hardware settings and information"
|
SYSTEM_DESC="System and Hardware settings and information"
|
||||||
MONITORS="<b>Monitor(s)</b>"
|
MONITORS="<b>Monitor(s)</b>"
|
||||||
@ -230,10 +243,8 @@ case $LANG in
|
|||||||
T_RESTART="Restart tint2"
|
T_RESTART="Restart tint2"
|
||||||
T_LAUNCHERS="Add/remove launchers..."
|
T_LAUNCHERS="Add/remove launchers..."
|
||||||
TINT_DIR="Open <i>~/.config/tint2/</i> directory "
|
TINT_DIR="Open <i>~/.config/tint2/</i> directory "
|
||||||
CONKY_DESC="<b>Conky Manager</b><i>(beta)</i>\nChoose Conky you want to run. There are several predefined Conky configurations, you can also add your own to <i>~/.config/conky</i> directory."
|
CONKY_DESC="<b>Conky (on steroids)</b>\nConky in Mabox has been equipped with additional powers not available in any other Linux distribution!\n\nRight click on any Conky to see handy context menu... <i>try it now!</i>\n\nYou can also define your own left-click command (or a multi-command menu)."
|
||||||
CONKY_CHOOSE="Choose Conky(s)"
|
|
||||||
CONKY_RESTART="Reload Conky"
|
CONKY_RESTART="Reload Conky"
|
||||||
CONKY_EDIT="Edit Conky"
|
|
||||||
OPEN_CONKYDIR="Open <i>~/.config/conky</i> directory"
|
OPEN_CONKYDIR="Open <i>~/.config/conky</i> directory"
|
||||||
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<small><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 menus and side-panels <a href='https://blog.maboxlinux.org/how-to-add-custom-commands-to-menu-and-sidepanels/'>blogpost</a></small>"
|
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<small><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 menus and side-panels <a href='https://blog.maboxlinux.org/how-to-add-custom-commands-to-menu-and-sidepanels/'>blogpost</a></small>"
|
||||||
M_EDIT_MAIN="Edit Favorites"
|
M_EDIT_MAIN="Edit Favorites"
|
||||||
@ -255,18 +266,17 @@ case $LANG in
|
|||||||
OWN_COMMANDS_TOP="(TOP)"
|
OWN_COMMANDS_TOP="(TOP)"
|
||||||
OWN_COMMANDS_BOTTOM="(BOTTOM)"
|
OWN_COMMANDS_BOTTOM="(BOTTOM)"
|
||||||
COMPOSITOR="Compositor"
|
COMPOSITOR="Compositor"
|
||||||
COMP_DESC="<b>Picom</b> is used as composite manager in Mabox"
|
COMP_DESC="<b>Picom</b> is used as composite manager in Mabox.\n\nWith the Picom Manager you can choose which of the several available configurations you want to use. You can also add your own.\n\n"
|
||||||
COMP_GUI="Settings"
|
COMP_EDIT="Picom Manager"
|
||||||
COMP_EDIT="Edit config file"
|
|
||||||
COMP_RESTART="Restart"
|
COMP_RESTART="Restart"
|
||||||
COMP_TOGGLE="Toggle (<b>win</b>+<b>p</b>)"
|
COMP_TOGGLE="Toggle (<b>win</b>+<b>p</b>)"
|
||||||
COMP_REMOVE="Remove picom.conf"
|
COMP_DIR="Open Picom config directory"
|
||||||
COMP_DEFAULT="Reset to default"
|
|
||||||
MT_MNGR="Mabox Theme Manager"
|
MT_MNGR="Mabox Theme Manager"
|
||||||
MT_MNGR_DESC="\n<a href='https://manual.maboxlinux.org/en/configuration/theme-manager/'>Help (online)</a>\nMabox theme consist of:\n - wallpaper\n - GTK2/GTK3 Theme and Openbox window decoration \n - selected Tint2 panel(s)\n - selected Conkies \n\nWith Mabox Theme Manager you can easily save your configurations, and switch between them."
|
MT_MNGR_DESC="\n<a href='https://manual.maboxlinux.org/en/configuration/theme-manager/'>Help (online)</a>\nMabox theme consist of:\n - wallpaper\n - GTK2/GTK3 Theme and Openbox window decoration \n - selected Tint2 panel(s)\n - selected Conkies \n\nWith Mabox Theme Manager you can easily save your configurations, and switch between them."
|
||||||
COLORIZER_DESC="<b>Colorizer</b>\nColorizer allows you to change the color of the Mabox desktop elements.\nIt can also automatically generate colors based on the wallpaper.\n<i>See video (online - YT):</i> <a href='https://youtu.be/h50oeS7aFyM'>Colorizer - overview</a>\n"
|
COLORIZER_DESC="<b>Colorizer</b>\nColorizer allows you to change the color of the Mabox desktop elements.\nIt can also generate themes based on the wallpaper colors or monochrome themes from color picked from screen.\n"
|
||||||
COL_MODULES="Individual Modules (advanced mode):"
|
COL_MODULES="Core Modules:"
|
||||||
COL_MENU="Colorizer Menu (advanced)"
|
COL_ADDONS="<i>addons:</i>"
|
||||||
|
COL_MENU="Colorizer RootMenu"
|
||||||
LNG="en"
|
LNG="en"
|
||||||
USER_LBL="user"
|
USER_LBL="user"
|
||||||
USERS_MSM="Users"
|
USERS_MSM="Users"
|
||||||
@ -281,6 +291,12 @@ case $LANG in
|
|||||||
DAYS_AGO="days ago"
|
DAYS_AGO="days ago"
|
||||||
MABOX_DESC="Your fast, lightweight and functional Linux Desktop"
|
MABOX_DESC="Your fast, lightweight and functional Linux Desktop"
|
||||||
ADVANCED="Advanced"
|
ADVANCED="Advanced"
|
||||||
|
FONTS="Fonts"
|
||||||
|
FONT_DESC="<b>Fonts</b>\nUse Font Config Menu to set fonts for:\n - Openbox window title\n - Menus and Side panels\n - GTK font\n - Conkies"
|
||||||
|
FONT_MENU="Font Config Menu"
|
||||||
|
FONT_INC="Increase All"
|
||||||
|
FONT_DEC="Decrease All"
|
||||||
|
FONT_RESET="Reset All"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -288,7 +304,7 @@ maindialog () {
|
|||||||
KEY=$RANDOM
|
KEY=$RANDOM
|
||||||
|
|
||||||
res1=$(mktemp --tmpdir mcc-tab1.XXXXXXXX)
|
res1=$(mktemp --tmpdir mcc-tab1.XXXXXXXX)
|
||||||
#res2=$(mktemp --tmpdir mcc-tab2.XXXXXXXX)
|
res2=$(mktemp --tmpdir mcc-tab2.XXXXXXXX)
|
||||||
res3=$(mktemp --tmpdir mcc-tab3.XXXXXXXX)
|
res3=$(mktemp --tmpdir mcc-tab3.XXXXXXXX)
|
||||||
res4=$(mktemp --tmpdir mcc-tab4.XXXXXXXX)
|
res4=$(mktemp --tmpdir mcc-tab4.XXXXXXXX)
|
||||||
res5=$(mktemp --tmpdir mcc-tab5.XXXXXXXX)
|
res5=$(mktemp --tmpdir mcc-tab5.XXXXXXXX)
|
||||||
@ -302,7 +318,7 @@ maindialog () {
|
|||||||
out=$(mktemp --tmpdir mcc-out.XXXXXXXX)
|
out=$(mktemp --tmpdir mcc-out.XXXXXXXX)
|
||||||
|
|
||||||
# cleanup
|
# cleanup
|
||||||
trap "rm -f $res1 $res3 $res4 $res5 $res6 $res7 $res8 $res9 $res10 $res11 $res12 $out" EXIT
|
trap "rm -f $res1 $res2 $res3 $res4 $res5 $res6 $res7 $res8 $res9 $res10 $res11 $res12 $out" EXIT
|
||||||
|
|
||||||
OSNAME=$(lsb_release -d | awk '{print $2}')
|
OSNAME=$(lsb_release -d | awk '{print $2}')
|
||||||
OSVERSION=$(lsb_release -r | awk '{print $2}')
|
OSVERSION=$(lsb_release -r | awk '{print $2}')
|
||||||
@ -351,7 +367,7 @@ INTRO_TXT=$(cat <<EOF
|
|||||||
EOF
|
EOF
|
||||||
)
|
)
|
||||||
#INTRO
|
#INTRO
|
||||||
yad --plug=$KEY --tabnum=1 --borders=10 \
|
GDK_BACKEND=x11 yad --plug=$KEY --tabnum=1 --borders=10 \
|
||||||
--text="$INTRO_TXT" --image=/usr/share/icons/hicolor/128x128/apps/mbcc.png \
|
--text="$INTRO_TXT" --image=/usr/share/icons/hicolor/128x128/apps/mbcc.png \
|
||||||
--columns=4 --form \
|
--columns=4 --form \
|
||||||
--field="$USER_LBL:LBL" "" \
|
--field="$USER_LBL:LBL" "" \
|
||||||
@ -376,27 +392,9 @@ yad --plug=$KEY --tabnum=1 --borders=10 \
|
|||||||
--field=" LXRandr!system-terminal!:FBTN" "lxrandr" \
|
--field=" LXRandr!system-terminal!:FBTN" "lxrandr" \
|
||||||
> $res1 &
|
> $res1 &
|
||||||
|
|
||||||
# Programy
|
|
||||||
#yad --plug=$KEY --tabnum=2 --borders=20 --text="$SOFTWARE_DESC" \
|
|
||||||
#--icons --compact --term "terminator -e %s" --read-dir=/home/napcok/Git/mabox-tools/mcc/software --item-width=100 \
|
|
||||||
#> $res2 &
|
|
||||||
#--icons --compact --read-dir=/usr/share/mcc/software --item-width=100 \
|
|
||||||
|
|
||||||
# AUTOSTART
|
|
||||||
yad --plug=$KEY --tabnum=4 --borders=20 --uri-handler=xdg-open \
|
|
||||||
--text="<b>$AUTOSTART_HEAD</b>" --image=gtk-execute \
|
|
||||||
--columns=1 --form \
|
|
||||||
--field="$AUTOSTART_DESC:LBL" "" \
|
|
||||||
--field="$EDIT_XDG:FBTN" "yautostart" \
|
|
||||||
--field="$AUTOSTART_DESC2 :LBL" "" \
|
|
||||||
--field="$EDIT_SCRIPT <i>~/.config/openbox/autostart</i>:FBTN" "xdg-open $HOME/.config/openbox/autostart" \
|
|
||||||
--field="$AUTOSTART_RESET:FBTN" "cp /etc/skel/.config/openbox/autostart $HOME/.config/openbox/" \
|
|
||||||
> $res3 &
|
|
||||||
#--field=":LBL" "" \
|
|
||||||
|
|
||||||
|
|
||||||
# TINT2
|
# TINT2
|
||||||
yad --plug=$KEY --tabnum=2 --borders=20 \
|
GDK_BACKEND=x11 yad --plug=$KEY --tabnum=2 --borders=20 \
|
||||||
--text="$TINT_DESC \n" --image=tint2conf \
|
--text="$TINT_DESC \n" --image=tint2conf \
|
||||||
--columns=1 --form \
|
--columns=1 --form \
|
||||||
--field="$T_LAUNCHERS:FBTN" "jgtint2launcher" \
|
--field="$T_LAUNCHERS:FBTN" "jgtint2launcher" \
|
||||||
@ -405,10 +403,10 @@ yad --plug=$KEY --tabnum=2 --borders=20 \
|
|||||||
--field="$ADVANCED:LBL" "" \
|
--field="$ADVANCED:LBL" "" \
|
||||||
--field="$T_CHOOSE:FBTN" "mb-tint2-manager" \
|
--field="$T_CHOOSE:FBTN" "mb-tint2-manager" \
|
||||||
--field="$TINT_DIR:FBTN" "exo-open $HOME/.config/tint2/" \
|
--field="$TINT_DIR:FBTN" "exo-open $HOME/.config/tint2/" \
|
||||||
> $res5 &
|
> $res4 &
|
||||||
|
|
||||||
# MENU
|
# MENU
|
||||||
yad --plug=$KEY --tabnum=3 --borders=1 \
|
GDK_BACKEND=x11 yad --plug=$KEY --tabnum=3 --borders=1 \
|
||||||
--text="$MENU_DESC" --image=menu-editor \
|
--text="$MENU_DESC" --image=menu-editor \
|
||||||
--columns=4 --form \
|
--columns=4 --form \
|
||||||
--field="$M_LEFT:FBTN" "mb-jgtools places" \
|
--field="$M_LEFT:FBTN" "mb-jgtools places" \
|
||||||
@ -442,69 +440,82 @@ yad --plug=$KEY --tabnum=3 --borders=1 \
|
|||||||
--field="$OWN_COMMANDS_BOTTOM:FBTN" "xdg-open $HOME/.config/mabox/right-append.csv" \
|
--field="$OWN_COMMANDS_BOTTOM:FBTN" "xdg-open $HOME/.config/mabox/right-append.csv" \
|
||||||
--field=" :LBL" "" \
|
--field=" :LBL" "" \
|
||||||
--field=" :LBL" "" \
|
--field=" :LBL" "" \
|
||||||
> $res6 &
|
> $res5 &
|
||||||
#--field="$M_LEFT_DESC:LBL" "" \
|
#--field="$M_LEFT_DESC:LBL" "" \
|
||||||
#--field="$M_RIGHT_DESC:LBL" "" \
|
#--field="$M_RIGHT_DESC:LBL" "" \
|
||||||
|
|
||||||
# WYGLĄD
|
# AUTOSTART
|
||||||
yad --plug=$KEY --tabnum=5 --borders=20 --text="$LOOK_DESC" --icons --read-dir=/usr/share/mcc/appearance --item-width=80 \
|
GDK_BACKEND=x11 yad --plug=$KEY --tabnum=4 --borders=20 --uri-handler=xdg-open \
|
||||||
> $res4 &
|
--text="<b>$AUTOSTART_HEAD</b>" --image=gtk-execute \
|
||||||
|
--columns=1 --form \
|
||||||
|
--field="$AUTOSTART_DESC:LBL" "" \
|
||||||
|
--field="$EDIT_XDG:FBTN" "yautostart" \
|
||||||
|
--field="$AUTOSTART_DESC2 :LBL" "" \
|
||||||
|
--field="$EDIT_SCRIPT <i>~/.config/openbox/autostart</i>:FBTN" "xdg-open $HOME/.config/openbox/autostart" \
|
||||||
|
--field="$AUTOSTART_RESET:FBTN" "cp /etc/skel/.config/openbox/autostart $HOME/.config/openbox/" \
|
||||||
|
> $res3 &
|
||||||
|
#--field=":LBL" "" \
|
||||||
|
|
||||||
# MOTYWY
|
|
||||||
yad --plug=$KEY --tabnum=6 --borders=20 --uri-handler=xdg-open \
|
|
||||||
--text="<b>$MT_MNGR</b>\n $MT_MNGR_DESC" \
|
|
||||||
--form --field="$MT_MNGR!preferences-desktop-theme:FBTN" "mb-obthemes" \
|
|
||||||
> $res9 &
|
|
||||||
|
|
||||||
# COLORIZER
|
# FONTS
|
||||||
yad --plug=$KEY --tabnum=7 --borders=20 \
|
GDK_BACKEND=x11 yad --plug=$KEY --tabnum=5 --borders=20 \
|
||||||
--text="$COLORIZER_DESC" --image=colorizer \
|
--text="$FONT_DESC \n" --image=font \
|
||||||
--form \
|
--form \
|
||||||
--columns=4 \
|
--field="$FONT_MENU!colorizer!:FBTN" "colorizer-fonts -s" \
|
||||||
--field=" Colorizer!colorizer!:FBTN" "ycolorizer" \
|
|
||||||
--field="$COL_MODULES :LBL" "" \
|
|
||||||
--field="OpenBox:FBTN" "colorizer-ob -s" \
|
|
||||||
--field=" :LBL" "" \
|
--field=" :LBL" "" \
|
||||||
--field=" :LBL" "" \
|
--field="$FONT_INC :FBTN" "fontctl inc_all" \
|
||||||
--field=" :LBL" "" \
|
--field="$FONT_DEC :FBTN" "fontctl dec_all" \
|
||||||
--field="Conky:FBTN" "colorizer-conky -s" \
|
--field="$FONT_RESET :FBTN" "fontctl resetall" \
|
||||||
--field=" :LBL" "" \
|
> $res2 &
|
||||||
--field=" :LBL" "" \
|
|
||||||
--field=" :LBL" "" \
|
|
||||||
--field="Menu/SidePanels:FBTN" "colorizer-menus -s" \
|
|
||||||
--field=" :LBL" "" \
|
|
||||||
--field="$COL_MENU:FBTN" "colorizer -s" \
|
|
||||||
--field=" :LBL" "" \
|
|
||||||
--field="PyRadio:FBTN" "colorizer-pyradio -s" \
|
|
||||||
--field=" :LBL" "" \
|
|
||||||
> $res8 &
|
|
||||||
|
|
||||||
|
|
||||||
# CONKY
|
# CONKY
|
||||||
yad --plug=$KEY --tabnum=8 --borders=20 \
|
GDK_BACKEND=x11 yad --plug=$KEY --tabnum=6 --borders=20 \
|
||||||
--text="$CONKY_DESC \n" --image=conky \
|
--text="$CONKY_DESC \n" --image=conky \
|
||||||
--form \
|
--form \
|
||||||
--field=" Colorizer Conky (new)!colorizer!:FBTN" "colorizer-conky -s" \
|
--field=" Conky Manager!colorizer!:FBTN" "colorizer-conky -s" \
|
||||||
--field="$CONKY_RESTART:FBTN" "mb-conky-session" \
|
|
||||||
--field="$ADVANCED :LBL" "" \
|
--field="$ADVANCED :LBL" "" \
|
||||||
--field="$CONKY_CHOOSE:FBTN" "mb-conky-manager" \
|
|
||||||
--field="$CONKY_EDIT:FBTN" "mb-conkyedit" \
|
|
||||||
--field="$OPEN_CONKYDIR:FBTN" "exo-open $HOME/.config/conky/" \
|
--field="$OPEN_CONKYDIR:FBTN" "exo-open $HOME/.config/conky/" \
|
||||||
> $res10 &
|
> $res6 &
|
||||||
|
|
||||||
# Picom
|
# Picom
|
||||||
yad --plug=$KEY --tabnum=9 --borders=20 \
|
GDK_BACKEND=x11 yad --plug=$KEY --tabnum=7 --borders=20 \
|
||||||
--text="$COMP_DESC" --image=compton \
|
--text="$COMP_DESC" --image=compton \
|
||||||
--columns=1 --form \
|
--columns=1 --form \
|
||||||
--field="$COMP_EDIT:FBTN" "xdg-open $HOME/.config/picom.conf" \
|
--field="$COMP_EDIT:FBTN" "jgpicom-pipe -s" \
|
||||||
--field="$COMP_RESTART:FBTN" "mabox-compositor --restart" \
|
--field="$COMP_RESTART:FBTN" "mabox-compositor --restart" \
|
||||||
--field="$COMP_TOGGLE:FBTN" "compton_toggle" \
|
--field="$COMP_TOGGLE:FBTN" "compton_toggle" \
|
||||||
> $res11 &
|
--field=" :LBL" "" \
|
||||||
|
--field="$COMP_DIR:FBTN" "exo-open $HOME/.config/picom/configs/" \
|
||||||
|
> $res7 &
|
||||||
#--field="$COMP_REMOVE:FBTN" "rm -f $HOME/.config/picom.conf" \
|
#--field="$COMP_REMOVE:FBTN" "rm -f $HOME/.config/picom.conf" \
|
||||||
#--field="$COMP_DEFAULT:FBTN" "cp /etc/skel/.config/picom.conf $HOME/.config/" \
|
#--field="$COMP_DEFAULT:FBTN" "cp /etc/skel/.config/picom.conf $HOME/.config/" \
|
||||||
|
|
||||||
|
# COLORIZER
|
||||||
|
GDK_BACKEND=x11 yad --plug=$KEY --tabnum=8 --borders=20 \
|
||||||
|
--text="$COLORIZER_DESC" --image=colorizer \
|
||||||
|
--form \
|
||||||
|
--columns=2 \
|
||||||
|
--field=" Colorizer!colorizer!:FBTN" "ycolorizer" \
|
||||||
|
--field="$COL_MODULES :LBL" "" \
|
||||||
|
--field="OpenBox:FBTN" "colorizer-ob -s" \
|
||||||
|
--field="Conky Manager:FBTN" "colorizer-conky -s" \
|
||||||
|
--field="Menu/SidePanels:FBTN" "colorizer-menus -s" \
|
||||||
|
--field="Fonts:FBTN" "colorizer-fonts -s" \
|
||||||
|
--field="Picom:FBTN" "jgpicom-pipe -s" \
|
||||||
|
--field=" :LBL" "" \
|
||||||
|
--field="$COL_MENU:FBTN" "colorizer -s" \
|
||||||
|
--field=" :LBL" "" \
|
||||||
|
--field=" :LBL" "" \
|
||||||
|
--field="$COL_ADDONS :LBL" "" \
|
||||||
|
--field="PyRadio:FBTN" "colorizer-pyradio -s" \
|
||||||
|
--field="Cava:FBTN" "colorizer-cava -s" \
|
||||||
|
--field=" :LBL" "" \
|
||||||
|
> $res8 &
|
||||||
|
|
||||||
# SYSTEM_SPRZET
|
# SYSTEM_SPRZET
|
||||||
yad --plug=$KEY --tabnum=10 --borders=0 --text="$SYSTEM_DESC" --columns=2 --align="center" --form --scroll \
|
GDK_BACKEND=x11 yad --plug=$KEY --tabnum=9 --borders=0 --text="$SYSTEM_DESC" --columns=2 --align="center" --form --scroll \
|
||||||
--field="<b>$SETTINGS</b>:LBL" " " \
|
--field="<b>$SETTINGS</b>:LBL" " " \
|
||||||
--field="$LOCALE_SETTINGS:FBTN" "manjaro-settings-manager -m msm_locale" \
|
--field="$LOCALE_SETTINGS:FBTN" "manjaro-settings-manager -m msm_locale" \
|
||||||
--field="$LANGUAGE_PACKAGES:FBTN" "manjaro-settings-manager -m msm_language_packages" \
|
--field="$LANGUAGE_PACKAGES:FBTN" "manjaro-settings-manager -m msm_language_packages" \
|
||||||
@ -519,11 +530,21 @@ yad --plug=$KEY --tabnum=10 --borders=0 --text="$SYSTEM_DESC" --columns=2 --alig
|
|||||||
--field=" :LBL" "" \
|
--field=" :LBL" "" \
|
||||||
--field="<b>Info</b>:LBL" "" \
|
--field="<b>Info</b>:LBL" "" \
|
||||||
--field=" inxi -CGAD!utilities-terminal!:FBTN" "terminator -T 'inxi -CAGD system info' -e 'inxi -CGAD;bash'" \
|
--field=" inxi -CGAD!utilities-terminal!:FBTN" "terminator -T 'inxi -CAGD system info' -e 'inxi -CGAD;bash'" \
|
||||||
--field=" neofetch!utilities-terminal!:FBTN" "terminator -e 'neofetch;bash'" \
|
--field=" $FETCH!utilities-terminal!:FBTN" "terminator -e '$FETCH;bash'" \
|
||||||
--field=" btop!utilities-terminal!:FBTN" "terminator -T 'btop' -x $BTOP" \
|
--field=" btop!utilities-terminal!:FBTN" "terminator -T 'btop' -x $BTOP" \
|
||||||
> $res7 &
|
> $res11 &
|
||||||
|
|
||||||
|
# WYGLĄD
|
||||||
|
GDK_BACKEND=x11 yad --plug=$KEY --tabnum=10 --borders=20 --text="$LOOK_DESC" --icons --read-dir=/usr/share/mcc/appearance --item-width=80 \
|
||||||
|
> $res9 &
|
||||||
|
# MOTYWY
|
||||||
|
GDK_BACKEND=x11 yad --plug=$KEY --tabnum=11 --borders=20 --uri-handler=xdg-open \
|
||||||
|
--text="<b>$MT_MNGR</b>\n $MT_MNGR_DESC" \
|
||||||
|
--form --field="$MT_MNGR!preferences-desktop-theme:FBTN" "mb-obthemes" \
|
||||||
|
> $res10 &
|
||||||
|
|
||||||
# HELP
|
# HELP
|
||||||
yad --plug=$KEY --tabnum=11 \
|
GDK_BACKEND=x11 yad --plug=$KEY --tabnum=12 \
|
||||||
--image=/usr/share/icons/hicolor/128x128/apps/distributor-logo-mabox-trans.png --text-justify=center --uri-handler=xdg-open --text="$HELP_TXT" \
|
--image=/usr/share/icons/hicolor/128x128/apps/distributor-logo-mabox-trans.png --text-justify=center --uri-handler=xdg-open --text="$HELP_TXT" \
|
||||||
--form --columns="4" \
|
--form --columns="4" \
|
||||||
--field="www:FBTN" "xdg-open https://maboxlinux.org" \
|
--field="www:FBTN" "xdg-open https://maboxlinux.org" \
|
||||||
@ -534,18 +555,19 @@ yad --plug=$KEY --tabnum=11 \
|
|||||||
|
|
||||||
|
|
||||||
#main window
|
#main window
|
||||||
yad --window-icon=mcc \
|
GDK_BACKEND=x11 yad --window-icon=mcc \
|
||||||
--notebook --tab-pos="left" --key=$KEY \
|
--notebook --tab-pos="left" --key=$KEY \
|
||||||
--tab="$START" \
|
--tab="$START" \
|
||||||
--tab="$TINT2"\
|
--tab="$TINT2"\
|
||||||
--tab="$MENU" \
|
--tab="$MENU" \
|
||||||
--tab="$AUTOSTART" \
|
--tab="$AUTOSTART" \
|
||||||
--tab="$LOOK" \
|
--tab="$FONTS" \
|
||||||
--tab="$THEMES" \
|
--tab="$CONKY" \
|
||||||
|
--tab="$COMPOSITOR" \
|
||||||
--tab="Colorizer" \
|
--tab="Colorizer" \
|
||||||
--tab="<i>$CONKY</i>" \
|
|
||||||
--tab="<i>$COMPOSITOR</i>" \
|
|
||||||
--tab="$SYSTEM" \
|
--tab="$SYSTEM" \
|
||||||
|
--tab="<i>$LOOK</i>" \
|
||||||
|
--tab="<i>$THEMES</i>" \
|
||||||
--tab="$HELP"\
|
--tab="$HELP"\
|
||||||
--title="$TITLE" --image=/usr/share/icons/hicolor/48x48/apps/mcc.png \
|
--title="$TITLE" --image=/usr/share/icons/hicolor/48x48/apps/mcc.png \
|
||||||
--width="720" --height="420" --image-on-top --text-justify=right --text="$MCC" --no-buttons > $out &
|
--width="720" --height="420" --image-on-top --text-justify=right --text="$MCC" --no-buttons > $out &
|
||||||
|
Loading…
Reference in New Issue
Block a user