mcc,mwelcome mb-obthemes update
parent
ad6ccacbb8
commit
09401a76f1
|
@ -600,6 +600,7 @@ function getOBname(){ # get OB theme name
|
||||||
if [[ "$OBTHEME" == "MBcolors" ]];then
|
if [[ "$OBTHEME" == "MBcolors" ]];then
|
||||||
mkdir -p $CONFIGDIR/MBcolors
|
mkdir -p $CONFIGDIR/MBcolors
|
||||||
cp -a ~/.themes/MBcolors/openbox-3/* $CONFIGDIR/MBcolors/
|
cp -a ~/.themes/MBcolors/openbox-3/* $CONFIGDIR/MBcolors/
|
||||||
|
cp -a ~/.config/mabox/jgobthemes/MBcolors.colorrc $CONFIGDIR
|
||||||
fi
|
fi
|
||||||
theme.sh -l|tail -n1 > "$CONFIGDIR/terminal_theme"
|
theme.sh -l|tail -n1 > "$CONFIGDIR/terminal_theme"
|
||||||
}
|
}
|
||||||
|
@ -812,6 +813,7 @@ function restoreOBrc(){
|
||||||
MBCOLORS="$1/MBcolors"
|
MBCOLORS="$1/MBcolors"
|
||||||
if [[ -d "$MBCOLORS" ]];then
|
if [[ -d "$MBCOLORS" ]];then
|
||||||
cp -a $MBCOLORS/* ~/.themes/MBcolors/openbox-3/
|
cp -a $MBCOLORS/* ~/.themes/MBcolors/openbox-3/
|
||||||
|
cp -a MBcolors.colorrc ~/.config/mabox/jgobthemes/
|
||||||
fi
|
fi
|
||||||
TERMINAL_THEME="$1/terminal_theme"
|
TERMINAL_THEME="$1/terminal_theme"
|
||||||
if [[ -f "$TERMINAL_THEME" ]];then
|
if [[ -f "$TERMINAL_THEME" ]];then
|
||||||
|
|
30
bin/mcc
30
bin/mcc
|
@ -31,7 +31,7 @@ case $LANG in
|
||||||
MENU="Menu i Panele"
|
MENU="Menu i Panele"
|
||||||
THEMES="Motywy"
|
THEMES="Motywy"
|
||||||
HELP="Pomoc"
|
HELP="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.\nHowever, maintaining the project's infrastructure costs money.\nIf you like Mabox you can help by making a small <a href='https://maboxlinux.org/donate'>donation</a></i> \nThank you for choosing to use Mabox Linux!"
|
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.\nHowever, maintaining the project's infrastructure costs money.\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!"
|
||||||
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>"
|
||||||
SOFTWARE_DESC="Aktualizacja - Instalacja Programów - Preferowane programy\n"
|
SOFTWARE_DESC="Aktualizacja - Instalacja Programów - Preferowane programy\n"
|
||||||
|
@ -43,7 +43,7 @@ case $LANG in
|
||||||
LOOK_DESC="Narzędzia do konfiguracji wyglądu\n"
|
LOOK_DESC="Narzędzia do konfiguracji wyglądu\n"
|
||||||
EDIT_FILE="Edytuj plik"
|
EDIT_FILE="Edytuj 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>."
|
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="Konfiguruj panel:"
|
T_CONF="Konfiguruj panel"
|
||||||
T_CHOOSE="Wybierz tint2!!Możesz uruchomić kilka paneli"
|
T_CHOOSE="Wybierz tint2!!Możesz uruchomić kilka paneli"
|
||||||
T_RESTART="Restartuj panel(e)"
|
T_RESTART="Restartuj panel(e)"
|
||||||
T_LAUNCHERS="Dodaj/usuń programy do panelu"
|
T_LAUNCHERS="Dodaj/usuń programy do panelu"
|
||||||
|
@ -101,7 +101,7 @@ case $LANG in
|
||||||
MENU="Menú y Paneles"
|
MENU="Menú y Paneles"
|
||||||
THEMES="Temas"
|
THEMES="Temas"
|
||||||
HELP="Help"
|
HELP="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.\nHowever, maintaining the project's infrastructure costs money.\nIf you like Mabox you can help by making a small <a href='https://maboxlinux.org/donate'>donation</a></i> \nThank you for choosing to use Mabox Linux!"
|
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.\nHowever, maintaining the project's infrastructure costs money.\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!"
|
||||||
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>"
|
||||||
SOFTWARE_DESC="Instalación y actualización de programas - Aplicaciones preferidas.\n"
|
SOFTWARE_DESC="Instalación y actualización de programas - Aplicaciones preferidas.\n"
|
||||||
|
@ -113,7 +113,7 @@ case $LANG in
|
||||||
LOOK_DESC="Configurar la apariencia de tu escritorio.\n"
|
LOOK_DESC="Configurar la apariencia de tu escritorio.\n"
|
||||||
EDIT_FILE="Editar el archivo"
|
EDIT_FILE="Editar el archivo"
|
||||||
TINT_DESC="<b>Configurador de paneles Tint2</b>\nAquí puede elegir los ajustes para los paneles.\nExisten varios ajustes predefinidos en Mabox, y además puede agregar nuevos en este directorio <i>~/.config/tint2</i> ."
|
TINT_DESC="<b>Configurador de paneles Tint2</b>\nAquí puede elegir los ajustes para los paneles.\nExisten varios ajustes predefinidos en Mabox, y además puede agregar nuevos en este directorio <i>~/.config/tint2</i> ."
|
||||||
T_CONF="Configurar panel:"
|
T_CONF="Configurar panel"
|
||||||
T_CHOOSE="Elija un panel tint2!!Puede ejecutar varios paneles de inmediato"
|
T_CHOOSE="Elija un panel tint2!!Puede ejecutar varios paneles de inmediato"
|
||||||
T_RESTART="Reiniciar panel tint2"
|
T_RESTART="Reiniciar panel tint2"
|
||||||
T_LAUNCHERS="Add/remove launchers..."
|
T_LAUNCHERS="Add/remove launchers..."
|
||||||
|
@ -171,7 +171,7 @@ case $LANG in
|
||||||
MENU="Menu/Panels"
|
MENU="Menu/Panels"
|
||||||
THEMES="Themes"
|
THEMES="Themes"
|
||||||
HELP="Help"
|
HELP="Help"
|
||||||
HELP_TXT="Visit <a href='https://manual.maboxlinux.org/mabox-doc-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.\nHowever, maintaining the project's infrastructure costs money.\nIf you like Mabox you can help by making a small <a href='https://maboxlinux.org/donate'>donation</a></i> \nThank you for choosing to use Mabox Linux!"
|
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.\nHowever, maintaining the project's infrastructure costs money.\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!"
|
||||||
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>"
|
||||||
SOFTWARE_DESC="Software installation and update - Preferred Applications.\n"
|
SOFTWARE_DESC="Software installation and update - Preferred Applications.\n"
|
||||||
|
@ -183,7 +183,7 @@ case $LANG in
|
||||||
LOOK_DESC="Customize Look and Feel of your desktop.\n"
|
LOOK_DESC="Customize Look and Feel of your desktop.\n"
|
||||||
EDIT_FILE="Edit file"
|
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."
|
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 panel:"
|
T_CONF="Configure panel"
|
||||||
T_CHOOSE="Choose tint2!!You can run several tint2 panels at once"
|
T_CHOOSE="Choose tint2!!You can run several tint2 panels at once"
|
||||||
T_RESTART="Restart tint2"
|
T_RESTART="Restart tint2"
|
||||||
T_LAUNCHERS="Add/remove launchers..."
|
T_LAUNCHERS="Add/remove launchers..."
|
||||||
|
@ -222,14 +222,14 @@ case $LANG in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ "$(pidof tint2)" ];then
|
#if [ "$(pidof tint2)" ];then
|
||||||
while read -r pid cmd; do
|
# while read -r pid cmd; do
|
||||||
if [[ ${cmd%% *} = tint2 ]]; then
|
# if [[ ${cmd%% *} = tint2 ]]; then
|
||||||
TINT=${cmd##* }
|
# TINT=${cmd##* }
|
||||||
TINT2FILE=${TINT#$HOME/.config/tint2/}
|
# TINT2FILE=${TINT#$HOME/.config/tint2/}
|
||||||
fi
|
# fi
|
||||||
done < <(pgrep -a tint2|head -n 1)
|
# done < <(pgrep -a tint2|head -n 1)
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
|
|
||||||
maindialog () {
|
maindialog () {
|
||||||
|
@ -295,7 +295,7 @@ yad --plug=$KEY --tabnum=5 --borders=10 \
|
||||||
--text="$TINT_DESC" --image=tint2conf \
|
--text="$TINT_DESC" --image=tint2conf \
|
||||||
--columns=1 --form \
|
--columns=1 --form \
|
||||||
--field="$T_CHOOSE:FBTN" "mb-tint2-manager" \
|
--field="$T_CHOOSE:FBTN" "mb-tint2-manager" \
|
||||||
--field="$T_CONF <i>$TINT2FILE</i>:FBTN" "tint2conf $TINT" \
|
--field="$T_CONF:FBTN" "jgtint2-pipe -s" \
|
||||||
--field="$T_RESTART:FBTN" "mb-tint2restart" \
|
--field="$T_RESTART:FBTN" "mb-tint2restart" \
|
||||||
--field="$T_LAUNCHERS:FBTN" "jgtint2launcher" \
|
--field="$T_LAUNCHERS:FBTN" "jgtint2launcher" \
|
||||||
--field=":LBL" "" \
|
--field=":LBL" "" \
|
||||||
|
|
|
@ -124,10 +124,9 @@ values=($(yad --window-icon=distributor-logo-mabox --center --buttons-layout="e
|
||||||
--field=" :LBL" ""\
|
--field=" :LBL" ""\
|
||||||
--field="$PROJECT:LBL" ""\
|
--field="$PROJECT:LBL" ""\
|
||||||
--field="$DEVELOPMENT" "exo-open --launch WebBrowser git.maboxlinux.org/Mabox"\
|
--field="$DEVELOPMENT" "exo-open --launch WebBrowser git.maboxlinux.org/Mabox"\
|
||||||
--field="$IRC" "hexchat"\
|
--field="$DONATE" "exo-open --launch WebBrowser https://ko-fi.com/maboxlinux"\
|
||||||
--field="$DONATE" "exo-open --launch WebBrowser https://maboxlinux.org/donate"\
|
|
||||||
--field="$LAUNCH_AT_START" "$show_welcome" \
|
--field="$LAUNCH_AT_START" "$show_welcome" \
|
||||||
--button=" FB":"$FB" --button="輸 YT":"exo-open --launch WebBrowser www.youtube.com/channel/UCuiznSWZXPCnkRKjNfWwF5Q" --button=$CLOSE:0))
|
--button=" FB":"$FB" --button="輸 YT":"exo-open --launch WebBrowser www.youtube.com/channel/UCuiznSWZXPCnkRKjNfWwF5Q" --button=$CLOSE:0))
|
||||||
|
|
||||||
#if [ $? -eq 0 ]; then
|
#if [ $? -eq 0 ]; then
|
||||||
while IFS='|' read -ra ADDR; do
|
while IFS='|' read -ra ADDR; do
|
||||||
|
@ -143,3 +142,4 @@ case $VAL in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
exit
|
exit
|
||||||
|
#--field="$IRC" "hexchat" \
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Type=Application
|
||||||
|
Name=Colorizer
|
||||||
|
Comment=Mabox Colorizer
|
||||||
|
Keywords=
|
||||||
|
StartupNotify=false
|
||||||
|
Icon=colorizer
|
||||||
|
TryExec=colorizer -s
|
||||||
|
Exec=colorizer -s
|
||||||
|
Categories=Settings;
|
||||||
|
#NoDisplay=true
|
Loading…
Reference in New Issue