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+=("Terminal color scheme,^term(theme.sh -i2;/bin/bash)")
#out+=("GTKTHEME,^pipe(colorizer-gtktheme)")
out+=("^sep()")
out+=("^sep(OTHER_TOOLS)")
out+=("WALLPAPER,^pipe(jgwallpaperchanger)")
out+=("MBX Colors,mbxcolors")
out+=("^sep()")
out+=("PREFERENCES")
#out+=("PREFERENCES")
out+=("ABOUT and Help,yhtml /usr/share/mabox-colorizer/help/en.html 'Mabox Colorizer'")
### RUN

View File

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