master 0.1.0
Daniel Napora 2022-05-15 18:50:21 +02:00
parent 184f0cf837
commit 16298ec513
3 changed files with 28 additions and 16 deletions

View File

@ -8,11 +8,11 @@ out+=("CONKY,^pipe(colorizer-conky)")
#out+=("Systray HW monitor,^pipe(colorizer-phwmon)") #out+=("Systray HW monitor,^pipe(colorizer-phwmon)")
out+=("Terminal color scheme,^term(theme.sh -i2;/bin/bash)") out+=("Terminal color scheme,^term(theme.sh -i2;/bin/bash)")
#out+=("GTKTHEME,^pipe(colorizer-gtktheme)") #out+=("GTKTHEME,^pipe(colorizer-gtktheme)")
out+=("^sep()") out+=("^sep(OTHER_TOOLS)")
out+=("WALLPAPER,^pipe(jgwallpaperchanger)") out+=("WALLPAPER,^pipe(jgwallpaperchanger)")
out+=("MBX Colors,mbxcolors") out+=("MBX Colors,mbxcolors")
out+=("^sep()") out+=("^sep()")
out+=("PREFERENCES") #out+=("PREFERENCES")
out+=("ABOUT and Help,yhtml /usr/share/mabox-colorizer/help/en.html 'Mabox Colorizer'") out+=("ABOUT and Help,yhtml /usr/share/mabox-colorizer/help/en.html 'Mabox Colorizer'")
### RUN ### RUN

View File

@ -67,7 +67,6 @@ getvalues () {
getvalues getvalues
out+=("^sep(Openbox theme: <i>$OBTHEME</i>)") out+=("^sep(Openbox theme: <i>$OBTHEME</i>)")
out+=("SELECT,^checkout(themes)")
out+=("^sep(TITLEBAR)") out+=("^sep(TITLEBAR)")
out+=("<tt><span bgcolor='$ABG'> </span></tt> ACTIVEBG,^pipe(mbclr '$ABG' obtctl clractivebg ACTIVE_BG '$me')") out+=("<tt><span bgcolor='$ABG'> </span></tt> ACTIVEBG,^pipe(mbclr '$ABG' obtctl clractivebg ACTIVE_BG '$me')")
out+=("<tt><span bgcolor='$NBG'> </span></tt> NORMALBG,^pipe(mbclr '$NBG' obtctl clrnormalbg NORMAL_BG '$me')") out+=("<tt><span bgcolor='$NBG'> </span></tt> NORMALBG,^pipe(mbclr '$NBG' obtctl clrnormalbg NORMAL_BG '$me')")
@ -88,13 +87,13 @@ if [ -f "${THEMERC}.bak" ]; then
out+=("RESET TO DEFAULTS,obtctl reset;$me") out+=("RESET TO DEFAULTS,obtctl reset;$me")
fi fi
out+=("Edit...,xdg-open ${THEMERC}") out+=("Edit...,xdg-open ${THEMERC}")
out2+=("^tag(themes)") #out2+=("^tag(themes)")
out2+=("^sep(themes)") #out2+=("^sep(themes)")
for i in $(ls $HOME/.themes);do #for i in $(ls $HOME/.themes);do
if [ -f "$HOME/.themes/${i}/openbox-3/themerc" ]; then # if [ -f "$HOME/.themes/${i}/openbox-3/themerc" ]; then
out2+=("$i,obtctl theme $i;$me") # out2+=("$i,obtctl theme $i;$me")
fi # fi
done #done
#TEXT #TEXT
out2+=("^tag(titletext)") out2+=("^tag(titletext)")
out2+=("^sep(TITLE_BAR)") out2+=("^sep(TITLE_BAR)")
@ -187,12 +186,13 @@ out2+=("8,obtctl handlewidth 8;$me")
out2+=("10,obtctl handlewidth 10;$me") out2+=("10,obtctl handlewidth 10;$me")
else else
out+=("^sep(NOT WRITABLE)") out+=("^sep(NOT SUPORTED OB theme)")
for i in $(ls $HOME/.themes);do out+=("Switch to MBcolors,obtctl theme MBcolors;$me")
if [ -f "$HOME/.themes/${i}/openbox-3/themerc" ]; then #for i in $(ls $HOME/.themes);do
out+=("$i,obtctl theme $i;$me") #if [ -f "$HOME/.themes/${i}/openbox-3/themerc" ]; then
fi #out+=("$i,obtctl theme $i;$me")
done #fi
#done
fi fi
### RUN ### RUN

View File

@ -0,0 +1,12 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=Colorizer
Comment=Mabox Colorizer
Keywords=
StartupNotify=false
Icon=mbxcolors
TryExec=colorizer -s
Exec=colorizer -s
Categories=Settings;
#NoDisplay=true