remove autotheming
This commit is contained in:
parent
9413336157
commit
6502425574
@ -43,19 +43,9 @@ case $LANG in
|
||||
TOOLS="Narzędzia"
|
||||
OBTHEME="Motyw Openbox"
|
||||
MENUPANELS="Menu i Panele"
|
||||
AUTOGEN_THEMES="Autogenerowanie motywów?"
|
||||
GENERATETHEMES="Generować motywy po zmianie tapety?"
|
||||
GENOB="Pokolorować Dekoracje Okien?"
|
||||
GENMENU="Pokolorować menu i panele?"
|
||||
GENCONKY="Pokolorować Conky?"
|
||||
GENPYRADIO="Pokolorować PyRadio?"
|
||||
YES="Tak"
|
||||
NO="Nie"
|
||||
YESC="<b>Tak</b> <i>(kliknij aby wyłączyć)</i>"
|
||||
NOC="<b>Nie</b> <i>(kliknij aby włączyć)</i>"
|
||||
LIGHTBG="<b>light</b> - jasne tło"
|
||||
DARKBG="<b>dark</b> - ciemne tło"
|
||||
;;
|
||||
;;
|
||||
es*)
|
||||
TITLE="Windows & Desktops"
|
||||
REMOVE="Eliminar este menú del panel"
|
||||
@ -93,18 +83,8 @@ case $LANG in
|
||||
TOOLS="Tools"
|
||||
OBTHEME="Openbox Theme"
|
||||
MENUPANELS="Menus/Panels"
|
||||
AUTOGEN_THEMES="<b>Auto theming</b> - based on wallp colors"
|
||||
GENERATETHEMES="Generate themes on wallpaper change?"
|
||||
GENOB="Colorize Window Decorations?"
|
||||
GENMENU="Colorize Menus and Panels?"
|
||||
GENCONKY="Colorize Conky?"
|
||||
GENPYRADIO="Colorize PyRadio?"
|
||||
YES="Yes"
|
||||
NO="No"
|
||||
YESC="<b>Yes</b> <i>(click to disable)</i>"
|
||||
NOC="<b>No</b> <i>(click to enable)</i>"
|
||||
LIGHTBG="with <b>light</b> background"
|
||||
DARKBG="with <b>dark</b> background"
|
||||
;;
|
||||
*)
|
||||
TITLE="Windows & Desktops"
|
||||
@ -144,18 +124,9 @@ case $LANG in
|
||||
COLORIZER_SETTINGS="Colorizer Settings"
|
||||
OBTHEME="Openbox Theme"
|
||||
MENUPANELS="Menus/Panels"
|
||||
AUTOGEN_THEMES="<b>Auto theming</b> - based on wallp colors"
|
||||
GENERATETHEMES="Generate themes on wallpaper change?"
|
||||
GENOB="Colorize Window Decorations?"
|
||||
GENMENU="Colorize Menus and Panels?"
|
||||
GENCONKY="Colorize Conky?"
|
||||
GENPYRADIO="Colorize PyRadio?"
|
||||
YES="Yes"
|
||||
NO="No"
|
||||
YESC="<b>Yes</b> <i>(click to disable)</i>"
|
||||
NOC="<b>No</b> <i>(click to enable)</i>"
|
||||
LIGHTBG="with <b>light</b> background"
|
||||
DARKBG="with <b>dark</b> background"
|
||||
|
||||
;;
|
||||
esac
|
||||
|
||||
@ -246,12 +217,11 @@ if command -v mcorners &> /dev/null;then
|
||||
fi
|
||||
if command -v cortile &> /dev/null;then
|
||||
if pidof cortile &>/dev/null; then
|
||||
out+=("<big></big> $CORTILE <i>$RUNNING</i>,cortilectl stop;$me")
|
||||
out+=("<big></big> $CORTILE <i>$RUNNING</i>,cortilectl stop")
|
||||
else
|
||||
out+=("<big></big> $CORTILE <i>$STOPPED</i>,cortilectl start;$me")
|
||||
out+=("<big></big> $CORTILE <i>$STOPPED</i>,cortilectl start")
|
||||
fi
|
||||
fi
|
||||
[[ "$wall2themes" = "yes" ]] && out+=("<big></big> $AUTOGEN_THEMES,^checkout(colsettings)") || out+=("<big></big> $AUTOGEN_THEMES,^checkout(colsettings)")
|
||||
|
||||
# DESKTOP MOUSE ACTIONS
|
||||
lclick=$(xml sel -N a=http://openbox.org/3.4/rc -t -v '/a:openbox_config/a:mouse/a:context[@name="Root"]/a:mousebind[@action="Press"][@button="Left"]/a:action/@name' $HOME/.config/openbox/rc.xml)
|
||||
@ -272,47 +242,6 @@ out+=("<big></big> $WALLCHANGER,^pipe(jgwallpaperchanger)")
|
||||
out+=("<big></big> $DESKGRID,^pipe(jgdeskgrid)")
|
||||
out+=("<big></big> $DESKMNGR,^pipe(jgdeskmngr)")
|
||||
|
||||
# COLORIZER_CONF SUBMENU
|
||||
out2+=("^tag(colsettings)")
|
||||
out2+=("^sep($GENERATETHEMES)")
|
||||
[[ "$wall2themes" = "yes" ]] && out2+=("<big></big> $YESC,mb-setvar wall2themes=no $COLORIZER_CONF;$me") || out2+=("<big></big> $NOC,mb-setvar wall2themes=yes $COLORIZER_CONF;$me")
|
||||
|
||||
out2+=("^sep()")
|
||||
|
||||
out2+=("$OBTHEME [ <b>${wall2themes_ob}</b> ],^checkout(ob)")
|
||||
out3+=("^tag(ob)")
|
||||
out3+=("^sep($GENOB)")
|
||||
out3+=("$NO,mb-setvar wall2themes_ob=none $COLORIZER_CONF;$me")
|
||||
out3+=("^sep()")
|
||||
out3+=("$LIGHTBG,mb-setvar wall2themes_ob=light $COLORIZER_CONF;$me")
|
||||
out3+=("$DARKBG,mb-setvar wall2themes_ob=dark $COLORIZER_CONF;$me")
|
||||
|
||||
|
||||
out2+=("$MENUPANELS [ <b>${wall2themes_menu}</b> ],^checkout(mp)")
|
||||
out3+=("^tag(mp)")
|
||||
out3+=("^sep($GENMENU)")
|
||||
out3+=("$NO,mb-setvar wall2themes_menu=none $COLORIZER_CONF;$me")
|
||||
out3+=("^sep()")
|
||||
out3+=("$LIGHTBG,mb-setvar wall2themes_menu=light $COLORIZER_CONF;$me")
|
||||
out3+=("$DARKBG,mb-setvar wall2themes_menu=dark $COLORIZER_CONF;$me")
|
||||
|
||||
|
||||
out2+=("Conky [ <b>${wall2themes_conky}</b> ],^checkout(conky)")
|
||||
out3+=("^tag(conky)")
|
||||
out3+=("^sep($GENCONKY)")
|
||||
out3+=("$NO,mb-setvar wall2themes_conky=none $COLORIZER_CONF;$me")
|
||||
out3+=("^sep()")
|
||||
out3+=("$LIGHTBG,mb-setvar wall2themes_conky=light $COLORIZER_CONF;$me")
|
||||
out3+=("$DARKBG,mb-setvar wall2themes_conky=dark $COLORIZER_CONF;$me")
|
||||
|
||||
|
||||
out2+=("PyRadio [ <b>${wall2themes_pyradio}</b> ],^checkout(pyradio)")
|
||||
out3+=("^tag(pyradio)")
|
||||
out3+=("^sep($GENPYRADIO)")
|
||||
out3+=("$NO,mb-setvar wall2themes_pyradio=none $COLORIZER_CONF;$me")
|
||||
out3+=("^sep()")
|
||||
out3+=("$LIGHTBG,mb-setvar wall2themes_pyradio=light $COLORIZER_CONF;$me")
|
||||
out3+=("$DARKBG,mb-setvar wall2themes_pyradio=dark $COLORIZER_CONF;$me")
|
||||
|
||||
#out+=(". ~/.config/mabox/jgdesktops-bottom.csv")
|
||||
|
||||
|
@ -77,18 +77,6 @@ case $LANG in
|
||||
LEFTPANEL="Lewy panel"
|
||||
OBTHEME="Motyw Openbox"
|
||||
MENUPANELS="Menu i Panele"
|
||||
AUTOGEN_THEMES="Autogenerowanie motywów?"
|
||||
GENERATETHEMES="Generować motywy po zmianie tapety?"
|
||||
GENOB="Pokolorować Dekoracje Okien?"
|
||||
GENMENU="Pokolorować menu i panele?"
|
||||
GENCONKY="Pokolorować Conky?"
|
||||
GENPYRADIO="Pokolorować PyRadio?"
|
||||
YES="Tak"
|
||||
NO="Nie"
|
||||
YESC="<b>Tak</b> <i>(kliknij aby wyłączyć)</i>"
|
||||
NOC="<b>Nie</b> <i>(kliknij aby włączyć)</i>"
|
||||
LIGHTBG="<b>light</b> - jasne tło"
|
||||
DARKBG="<b>dark</b> - ciemne tło"
|
||||
COLORIZER_HELP="Okno główne i Pomoc"
|
||||
COLORIZER_ROOT="<b>Colorizer</b> menu główne"
|
||||
COLORIZER_FONTS="Konfiguruj <b>Czcionki</b>"
|
||||
@ -123,18 +111,6 @@ case $LANG in
|
||||
LEFTPANEL="Left panel"
|
||||
OBTHEME="Openbox Theme"
|
||||
MENUPANELS="Menus/Panels"
|
||||
AUTOGEN_THEMES="Auto theming"
|
||||
GENERATETHEMES="Generate themes on wallpaper change?"
|
||||
GENOB="Colorize Window Decorations?"
|
||||
GENMENU="Colorize Menus and Panels?"
|
||||
GENCONKY="Colorize Conky?"
|
||||
GENPYRADIO="Colorize PyRadio?"
|
||||
YES="Yes"
|
||||
NO="No"
|
||||
YESC="<b>Yes</b> <i>(click to disable)</i>"
|
||||
NOC="<b>No</b> <i>(click to enable)</i>"
|
||||
LIGHTBG="with <b>light</b> background"
|
||||
DARKBG="with <b>dark</b> background"
|
||||
COLORIZER_HELP="Main Window and Help"
|
||||
COLORIZER_ROOT="<b>Colorizer</b> rootmenu"
|
||||
COLORIZER_FONTS="Configure <b>Fonts</b>"
|
||||
@ -188,47 +164,6 @@ out2+=("^tag(interval)")
|
||||
for i in 3 5 10 30 60 120 300 600 1800 3600; do out2+=("$(printf "<tt> %4s</tt>,%s" "$i" "mb-setvar interval=${i} $CONF_FILE;$me")");done
|
||||
|
||||
|
||||
# COLORIZER_CONF SUBMENU
|
||||
out1+=("^tag(colsettings2)")
|
||||
out1+=("^sep($GENERATETHEMES)")
|
||||
[[ "$wall2themes" = "yes" ]] && out1+=("<big></big> $YESC,mb-setvar wall2themes=no $COLORIZER_CONF;$me") || out1+=("<big></big> $NOC,mb-setvar wall2themes=yes $COLORIZER_CONF;$me")
|
||||
|
||||
out1+=("^sep()")
|
||||
|
||||
out1+=("$OBTHEME [ <b>${wall2themes_ob}</b> ],^checkout(ob2)")
|
||||
out2+=("^tag(ob2)")
|
||||
out2+=("^sep($GENOB)")
|
||||
out2+=("$NO,mb-setvar wall2themes_ob=none $COLORIZER_CONF;$me")
|
||||
out2+=("^sep()")
|
||||
out2+=("$LIGHTBG,mb-setvar wall2themes_ob=light $COLORIZER_CONF;$me")
|
||||
out2+=("$DARKBG,mb-setvar wall2themes_ob=dark $COLORIZER_CONF;$me")
|
||||
|
||||
|
||||
out1+=("$MENUPANELS [ <b>${wall2themes_menu}</b> ],^checkout(mp2)")
|
||||
out2+=("^tag(mp2)")
|
||||
out2+=("^sep($GENMENU)")
|
||||
out2+=("$NO,mb-setvar wall2themes_menu=none $COLORIZER_CONF;$me")
|
||||
out2+=("^sep()")
|
||||
out2+=("$LIGHTBG,mb-setvar wall2themes_menu=light $COLORIZER_CONF;$me")
|
||||
out2+=("$DARKBG,mb-setvar wall2themes_menu=dark $COLORIZER_CONF;$me")
|
||||
|
||||
|
||||
out1+=("Conky [ <b>${wall2themes_conky}</b> ],^checkout(conky2)")
|
||||
out2+=("^tag(conky2)")
|
||||
out2+=("^sep($GENCONKY)")
|
||||
out2+=("$NO,mb-setvar wall2themes_conky=none $COLORIZER_CONF;$me")
|
||||
out2+=("^sep()")
|
||||
out2+=("$LIGHTBG,mb-setvar wall2themes_conky=light $COLORIZER_CONF;$me")
|
||||
out2+=("$DARKBG,mb-setvar wall2themes_conky=dark $COLORIZER_CONF;$me")
|
||||
|
||||
|
||||
out1+=("PyRadio [ <b>${wall2themes_pyradio}</b> ],^checkout(pyradio2)")
|
||||
out2+=("^tag(pyradio2)")
|
||||
out2+=("^sep($GENPYRADIO)")
|
||||
out2+=("$NO,mb-setvar wall2themes_pyradio=none $COLORIZER_CONF;$me")
|
||||
out2+=("^sep()")
|
||||
out2+=("$LIGHTBG,mb-setvar wall2themes_pyradio=light $COLORIZER_CONF;$me")
|
||||
out2+=("$DARKBG,mb-setvar wall2themes_pyradio=dark $COLORIZER_CONF;$me")
|
||||
|
||||
### RUN
|
||||
if [[ $1 == "-s" || $1 == "-c" || $1 == "-u" || $1 == "ipc" ]]; then
|
||||
@ -252,8 +187,6 @@ case "$1" in
|
||||
out+=("$COLORIZER_PYRADIO,colorizer-pyradio -s")
|
||||
out+=("$COLORIZER_CAVA,colorizer-cava -s")
|
||||
out+=("^sep()")
|
||||
[[ "$wall2themes" = "yes" ]] && out+=("<big></big> $AUTOGEN_THEMES,^checkout(colsettings2)") || out+=("<big></big> $AUTOGEN_THEMES,^checkout(colsettings2)")
|
||||
out+=("^sep()")
|
||||
|
||||
[[ "$t2_button_lclick_action" == "random" ]] && out+=("$B_LC_ACTION: <b>[ $RAND ]</b>,^checkout(laction)") || out+=("$B_LC_ACTION: <b>[ $CHOOSE ]</b>,^checkout(laction)")
|
||||
out2+=("^tag(laction)")
|
||||
|
Loading…
Reference in New Issue
Block a user