parent
9001278bfc
commit
52ed781df7
|
@ -42,8 +42,8 @@ case "$1" in
|
|||
-g)
|
||||
CONKYPID=$(pgrep -f sysinfo_graph_mbcolor)
|
||||
;;
|
||||
*)
|
||||
:
|
||||
-m)
|
||||
CONKYPID=$(pgrep -f mabox_info_mbcolor)
|
||||
;;
|
||||
esac
|
||||
|
||||
|
@ -61,5 +61,5 @@ if [ -f /tmp/"$CONKYPID" ]; then
|
|||
printf "\${font}\${color}\${alignr} $UPTODATE"
|
||||
fi
|
||||
else
|
||||
echo "$SUM" > /tmp/${CONKYPID}
|
||||
echo "$1" > /tmp/${CONKYPID}
|
||||
fi
|
||||
|
|
114
bin/colorizer
114
bin/colorizer
|
@ -40,15 +40,13 @@ related_tools=hide
|
|||
# Colorizer size: full or compact
|
||||
colorizer_size=full
|
||||
# Action for rootmenucolors: accent or select
|
||||
rootcolors=accent
|
||||
rootcolors=select
|
||||
# Different colors for each/some Conkys: yes or no
|
||||
conky_diff_colors=yes
|
||||
conky_diff_colors=no
|
||||
# Gradients: change openbox theme? (active window titlebar)
|
||||
gradient_obtheme=yes
|
||||
# Gradients: change menu/panels background?
|
||||
gradient_menu=yes
|
||||
# Gradients: change Conky bg colors based on gradient
|
||||
gradient_conkies=no
|
||||
gradient_menu=no
|
||||
EOF
|
||||
# Copy new nitrogen wrapper
|
||||
cp -a /usr/share/mabox/common/wrappers/nitrogen ~/.local/bin/
|
||||
|
@ -97,7 +95,7 @@ case "$LANG" in
|
|||
SYSWALLPAPER="Tapety <b>systemowe</b>"
|
||||
USERWALLPAPER="Tapety <b>użytkownika</b>"
|
||||
GRADIENTS="Gradienty"
|
||||
PRE_GRADIENTS="Gotowe Gradienty"
|
||||
PRE_GRADIENTS="Gradienty"
|
||||
GRAD_OB="Stosować do motywu OpenBox?"
|
||||
GRAD_MENU="Stosować do Menu/Paneli?"
|
||||
GRAD_CONKY="Stosować do Conky?"
|
||||
|
@ -259,6 +257,14 @@ mint+=("#6cabcd" "#5b73c4" "#aa876a" "#9d9d9d" "#db9d61" "#c76199" "#8c6ec9" "#c
|
|||
|
||||
|
||||
out+=("^sep(Mabox Colorizer)")
|
||||
out+=(" $SETTINGS,^checkout(settings)")
|
||||
LNG=${LANG:0:2}
|
||||
if [[ -f "/usr/share/mabox-colorizer/help/$LNG.html" ]];then
|
||||
out+=(" $HELP,yhtml /usr/share/mabox-colorizer/help/$LNG.html 'Mabox Help - Colorizer'")
|
||||
else
|
||||
out+=(" $HELP,yhtml /usr/share/mabox-colorizer/help/en.html 'Mabox Help - Colorizer'")
|
||||
fi
|
||||
out+=("^sep()")
|
||||
out+=(" $REGENERATE,^checkout(regen)")
|
||||
out2+=("^tag(regen)")
|
||||
out2+=("^sep($REGENERATEALL)")
|
||||
|
@ -475,7 +481,7 @@ done
|
|||
##out+=(" $EDIT_PALETTE,xdg-open $WALLPALDIR/$WALLPAPER.clr")
|
||||
|
||||
# Przerobić na submenu
|
||||
if [[ "$wall2themes" == "yes" ]];then
|
||||
#if [[ "$wall2themes" == "yes" ]];then
|
||||
out+=("^sep($RANDWALL)")
|
||||
syswallp=$(shopt -s nullglob ; set -- /usr/share/backgrounds/*.{jpg,JPG,jpeg,JPEG,png,PNG} ; echo $#)
|
||||
out+=(" $SYSWALLPAPER (<small>${syswallp}</small>),nitrogen --random /usr/share/backgrounds --set-scaled --save;colorizer -s")
|
||||
|
@ -485,10 +491,12 @@ out+=(" $USERWALLPAPER (<small>${userwallp}</small>),nitrogen --random ${use
|
|||
fi
|
||||
out+=("^sep()")
|
||||
out+=("$WALLPAPERS,^checkout(wallpapersettings)")
|
||||
fi
|
||||
if [[ "$gradient_obtheme" == "yes" || "$gradient_menu" == "yes" || "gradient_conkies" == "yes" ]];then
|
||||
out+=("^sep($GRADIENTS)")
|
||||
out+=("$PRE_GRADIENTS,^pipe(mbgrad)")
|
||||
#fi
|
||||
if [[ "$gradient_obtheme" == "yes" || "$gradient_menu" == "yes" ]];then
|
||||
[[ "$gradient_obtheme" == "yes" ]] && OBGRAD="OB" || OBGRAD=""
|
||||
[[ "$gradient_menu" == "yes" ]] && MENUGRAD="menus" || MENUGRAD=""
|
||||
out+=("^sep($GRADIENTS <small>$OBGRAD $MENUGRAD</small>)")
|
||||
out+=("<tt><span bgcolor='#16a084'> </span><span bgcolor='#43a480'> </span><span bgcolor='#5da97b'> </span><span bgcolor='#72ad77'> </span><span bgcolor='#84b171'> </span><span bgcolor='#95b66c'> </span><span bgcolor='#a5ba66'> </span><span bgcolor='#b5be61'> </span><span bgcolor='#c3c15a'> </span><span bgcolor='#d1c753'> </span><span bgcolor='#dfc94c'> </span><span bgcolor='#edce44'> </span><span bgcolor='#f4d03f'> </span></tt> $PRE_GRADIENTS,^pipe(mbgrad)")
|
||||
fi
|
||||
|
||||
if [[ "$related_tools" == "show" ]];then
|
||||
|
@ -498,27 +506,8 @@ fi
|
|||
#out+=("^sep()")
|
||||
#out+=("Pin current colors to wallpaper")
|
||||
###
|
||||
out+=("^sep($SETTINGS_AND_HELP)")
|
||||
out+=(" $SETTINGS,^checkout(settings)")
|
||||
|
||||
out2+=("^tag(settings)")
|
||||
out2+=("^sep($COLORIZER_SETTINGS)")
|
||||
if [[ -f "$HOME/.config/tint2/launcherapps/colorizer.desktop" ]]; then
|
||||
out2+=("$DELETELAUNCHER,rm ~/.config/tint2/launcherapps/colorizer.desktop;killall -SIGUSR1 tint2;colorizer -s")
|
||||
else
|
||||
out2+=("$ADDLAUNCHER,cp /usr/share/applications/colorizer.desktop ~/.config/tint2/launcherapps/;killall -SIGUSR1 tint2;colorizer -s")
|
||||
fi
|
||||
out2+=("$HEIGHT [ <b>${colorizer_size}</b> ],^checkout(csize)")
|
||||
out3+=("^tag(csize)")
|
||||
out3+=("^sep($HEIGHT)")
|
||||
out3+=("$FULL,mb-setvar colorizer_size=full $CNF_FILE;colorizer -s")
|
||||
out3+=("$COMPACT,mb-setvar colorizer_size=compact $CNF_FILE;colorizer -s")
|
||||
out2+=("$ROOTMENU_COLORS_ACTION [ <b>$rootcolors</b> ],^checkout(rootcolors)")
|
||||
out3+=("^tag(rootcolors)")
|
||||
out3+=("^sep($ROOTMENU_COLORS_ACTION)")
|
||||
out3+=("$ACCENT,mb-setvar rootcolors=accent $CNF_FILE;colorizer -s")
|
||||
out3+=("$SELECT,mb-setvar rootcolors=select $CNF_FILE;colorizer -s")
|
||||
|
||||
out2+=("^sep($AUTOGEN_THEMES)")
|
||||
out2+=(" $AUTOGEN_THEMES [ <b>${wall2themes}</b> ],^checkout(autogen)")
|
||||
out3+=("^tag(autogen")
|
||||
|
@ -542,11 +531,11 @@ out3+=("$NO,mb-setvar wall2themes_conky=none $CNF_FILE;colorizer -s")
|
|||
out3+=("^sep()")
|
||||
out3+=("$LIGHTBG,mb-setvar wall2themes_conky=light $CNF_FILE;colorizer -s")
|
||||
out3+=("$DARKBG,mb-setvar wall2themes_conky=dark $CNF_FILE;colorizer -s")
|
||||
out2+=("$DIFF_CONKY_COLORS [ <b>$conky_diff_colors</b> ],^checkout(conkycolors)")
|
||||
out3+=("^tag(conkycolors)")
|
||||
out3+=("^sep($DIFF_CONKY_COLORS)")
|
||||
out3+=("$YES,mb-setvar conky_diff_colors=yes $CNF_FILE;colorizer -s")
|
||||
out3+=("$NO,mb-setvar conky_diff_colors=no $CNF_FILE;colorizer -s")
|
||||
#out2+=("$DIFF_CONKY_COLORS [ <b>$conky_diff_colors</b> ],^checkout(conkycolors)")
|
||||
#out3+=("^tag(conkycolors)")
|
||||
#out3+=("^sep($DIFF_CONKY_COLORS)")
|
||||
#out3+=("$YES,mb-setvar conky_diff_colors=yes $CNF_FILE;colorizer -s")
|
||||
#out3+=("$NO,mb-setvar conky_diff_colors=no $CNF_FILE;colorizer -s")
|
||||
|
||||
out2+=("^sep()")
|
||||
out2+=("PyRadio [ <b>${wall2themes_pyradio}</b> ],^checkout(pyradio)")
|
||||
|
@ -592,12 +581,29 @@ out3+=("^sep($GRAD_MENU)")
|
|||
out3+=("$YES,mb-setvar gradient_menu=yes $CNF_FILE;colorizer -s")
|
||||
out3+=("$NO,mb-setvar gradient_menu=no $CNF_FILE;colorizer -s")
|
||||
out2+=("$GRAD_CONKY [ <b>${gradient_conkies}</b> ],^checkout(grad_conky)")
|
||||
out3+=("^tag(grad_conky")
|
||||
out3+=("^sep($GRAD_CONKY)")
|
||||
out3+=("$YES,mb-setvar gradient_conkies=yes $CNF_FILE;colorizer -s")
|
||||
out3+=("$NO,mb-setvar gradient_conkies=no $CNF_FILE;colorizer -s")
|
||||
#out3+=("^tag(grad_conky")
|
||||
#out3+=("^sep($GRAD_CONKY)")
|
||||
#out3+=("$YES,mb-setvar gradient_conkies=yes $CNF_FILE;colorizer -s")
|
||||
#out3+=("$NO,mb-setvar gradient_conkies=no $CNF_FILE;colorizer -s")
|
||||
|
||||
out2+=("^sep($OTHER_SETTINGS)")
|
||||
#out2+=("^sep($COLORIZER_SETTINGS)")
|
||||
#if [[ -f "$HOME/.config/tint2/launcherapps/colorizer.desktop" ]]; then
|
||||
#out2+=("$DELETELAUNCHER,rm ~/.config/tint2/launcherapps/colorizer.desktop;killall -SIGUSR1 tint2;colorizer -s")
|
||||
#else
|
||||
#out2+=("$ADDLAUNCHER,cp /usr/share/applications/colorizer.desktop ~/.config/tint2/launcherapps/;killall -SIGUSR1 tint2;colorizer -s")
|
||||
#fi
|
||||
|
||||
out2+=("$ROOTMENU_COLORS_ACTION [ <b>$rootcolors</b> ],^checkout(rootcolors)")
|
||||
out3+=("^tag(rootcolors)")
|
||||
out3+=("^sep($ROOTMENU_COLORS_ACTION)")
|
||||
out3+=("$ACCENT,mb-setvar rootcolors=accent $CNF_FILE;colorizer -s")
|
||||
out3+=("$SELECT,mb-setvar rootcolors=select $CNF_FILE;colorizer -s")
|
||||
out2+=("$HEIGHT [ <b>${colorizer_size}</b> ],^checkout(csize)")
|
||||
out3+=("^tag(csize)")
|
||||
out3+=("^sep($HEIGHT)")
|
||||
out3+=("$FULL,mb-setvar colorizer_size=full $CNF_FILE;colorizer -s")
|
||||
out3+=("$COMPACT,mb-setvar colorizer_size=compact $CNF_FILE;colorizer -s")
|
||||
out2+=("$SHOW_RELATED [ <b>${related_tools}</b> ],^checkout(related)")
|
||||
out3+=("^tag(related)")
|
||||
out3+=("^sep($SHOW_RELATED)")
|
||||
|
@ -610,13 +616,6 @@ out2+=("^sep()")
|
|||
out2+=(" $EDITCONF,xdg-open $CNF_FILE")
|
||||
out2+=(" $RESET,rm $CNF_FILE;colorizer -s")
|
||||
|
||||
LNG=${LANG:0:2}
|
||||
if [[ -f "/usr/share/mabox-colorizer/help/$LNG.html" ]];then
|
||||
out+=(" $HELP,yhtml /usr/share/mabox-colorizer/help/$LNG.html 'Mabox Help - Colorizer'")
|
||||
else
|
||||
out+=(" $HELP,yhtml /usr/share/mabox-colorizer/help/en.html 'Mabox Help - Colorizer'")
|
||||
fi
|
||||
|
||||
|
||||
### RUN
|
||||
if [[ "$1" == "-s" ]]; then
|
||||
|
@ -669,10 +668,29 @@ if [[ "$1" == "-s" ]]; then
|
|||
|
||||
mkconfigfile
|
||||
#THUMB="$(DISPLAY=:0 scrot -t 220x100 -o $HOME/.config/mabox/colorizer.png -e 'echo $m')"
|
||||
case "$LANG" in
|
||||
pl*) THGEN="generuj motywy :";;
|
||||
*) THGEN="theme generation:";;
|
||||
esac
|
||||
if [ "$wall2themes" = "yes" ]; then
|
||||
FGCOL="limegreen"
|
||||
case "$LANG" in
|
||||
pl*) STATE="on";;
|
||||
*) STATE="on";;
|
||||
esac
|
||||
else
|
||||
FGCOL="red"
|
||||
case "$LANG" in
|
||||
pl*) STATE="off";;
|
||||
*) STATE="off";;
|
||||
esac
|
||||
fi
|
||||
cat <<EOF > ${MENU_ITEMS}
|
||||
@icon,,$((jgtools_padding + 4)),$((jgtools_padding + 4)),270,150,4,left,top,,,${THUMB}
|
||||
@rect,,$((jgtools_padding + 4)),$((jgtools_padding + 100)),270,54,0,left,top,#222222 20,#222222 70,
|
||||
@text,,$((jgtools_padding + 198)),$((jgtools_padding + 124)),120,30,0,left,top,#FFFFFF ,${WINCLR}, <b>Colorizer</b>
|
||||
@rect,,$((jgtools_padding + 4)),$((jgtools_padding + 8)),270,20,0,left,top,#222222 20,#222222 70,
|
||||
@rect,,$((jgtools_padding + 4)),$((jgtools_padding + 120)),270,34,0,left,top,#222222 20,#222222 70,
|
||||
@text,,$((jgtools_padding + 12)),$((jgtools_padding + 2)),270,30,0,left,top,#FFFFFF ,${WINCLR}, <span size='10400' font_family='Ubuntu'><small>${THGEN}</small> <span fgcolor='$FGCOL'><b>$STATE</b></span></span>
|
||||
@text,,$((jgtools_padding + 198)),$((jgtools_padding + 124)),120,30,0,left,top,#FFFFFF ,${WINCLR},<span size='10400' font_family='Ubuntu'><b>Colorizer</b></span>
|
||||
$(printf '%s\n' "${dots[@]}")
|
||||
#@icon,,$((jgtools_padding + 4)),$((jgtools_padding + 34)),270,120,4,left,top,,,/usr/share/mabox-colorizer/img/colorizer.png
|
||||
$(printf '%s\n' "${out[@]}")
|
||||
|
|
|
@ -31,7 +31,7 @@ fi
|
|||
case "$LANG" in
|
||||
pl*)
|
||||
COLORIZECONKY="Conky Colorizer"
|
||||
MOVEABLEALL="Ustaw wszystkie (<i>poprzez przeciąganie</i>)..."
|
||||
MOVEABLEALL="Ustaw wszystkie (<i>przeciągaj</i>)..."
|
||||
GENERATEFROMWP="Generuj z kolorów tapety"
|
||||
LIGHTBG="Jasne tło"
|
||||
DARKBG="Ciemne tło"
|
||||
|
@ -313,7 +313,9 @@ if [[ "$1" == "-s" ]]; then
|
|||
|
||||
cat <<EOF > ${MENU_ITEMS}
|
||||
@icon,,$((jgtools_padding + 4)),$((jgtools_padding + 4)),270,150,4,left,top,,,${THUMB}
|
||||
@rect,,$((jgtools_padding + 4)),$((jgtools_padding + 120)),270,34,0,left,top,#222222 20,#222222 70,
|
||||
#@icon,,$((jgtools_padding + 4)),$((jgtools_padding + 4)),270,150,4,left,top,,,/usr/share/mabox-colorizer/img/colorizer-conky.png
|
||||
@text,,$((jgtools_padding + 158)),$((jgtools_padding + 124)),120,30,0,left,top,#FFFFFF ,${WINCLR},<span size='10400' font_family='Ubuntu'><b>Colorizer</b> Conky</span>
|
||||
@rect,,$((jgtools_padding + 244)),$((jgtools_padding + 6)),29,60,0,left,top,#FFFFFF 30,${WINCLR} 60,
|
||||
@rect,,$((jgtools_padding + 5)),$((jgtools_padding + 92)),29,60,0,left,top,#FFFFFF 30,${WINCLR} 60,
|
||||
@rect,,$((jgtools_padding + 36)),$((jgtools_padding + 112)),29,40,0,left,top,#FFFFFF 30,${WINCLR} 60,
|
||||
|
|
|
@ -150,7 +150,7 @@ out+=("<tt><small>$(printf '%3s' "$MBGTA")</small> <span bgcolor='$MBGT' bgalpha
|
|||
out+=("<tt><small>$(printf '%3s' "$MBORDERA")</small> <span bgcolor='$MBORDER' bgalpha='${MBORDERA/#[0]/1}%'> </span><span bgcolor='$MBORDER'> </span></tt> $COLOR_MENU_BORDER,^pipe(mbclr '$MBORDER' jgctl color_menu_border '${COLOR_MENU_BORDER}' '$me')")
|
||||
out+=("^sep()")
|
||||
out+=("$GRADIENT_POS [ <b>$GRADIENT</b> ],^checkout(gradientpos)")
|
||||
out+=("$PRE_GRADIENTS,^pipe(mbgrad menu)")
|
||||
out+=("<tt><span bgcolor='#16a084'> </span><span bgcolor='#43a480'> </span><span bgcolor='#5da97b'> </span><span bgcolor='#72ad77'> </span><span bgcolor='#84b171'> </span><span bgcolor='#95b66c'> </span><span bgcolor='#a5ba66'> </span><span bgcolor='#b5be61'> </span><span bgcolor='#c3c15a'> </span><span bgcolor='#d1c753'> </span><span bgcolor='#dfc94c'> </span><span bgcolor='#edce44'> </span><span bgcolor='#f4d03f'> </span></tt> $PRE_GRADIENTS,^pipe(mbgrad menu)")
|
||||
out+=(" $GRADIENT_REVERSE,jgctl gradient '${MBGT}' '${MBG}';$me")
|
||||
|
||||
out+=("^sep($ITEM)")
|
||||
|
@ -268,6 +268,8 @@ JGWIDTH=$((jgtools_padding + 278 + jgtools_padding))
|
|||
|
||||
cat <<EOF > ${MENU_ITEMS}
|
||||
@icon,,$((jgtools_padding + 4)),$((jgtools_padding + 4)),270,150,4,left,top,,,${THUMB}
|
||||
@rect,,$((jgtools_padding + 4)),$((jgtools_padding + 120)),270,34,0,left,top,#222222 20,#222222 70,
|
||||
@text,,$((jgtools_padding + 158)),$((jgtools_padding + 124)),120,30,0,left,top,#FFFFFF ,${WINCLR},<span size='10400' font_family='Ubuntu'><b>Colorizer</b> Menus</span>
|
||||
$(printf '%s\n' "${out[@]}")
|
||||
$(printf '%s\n' "${out2[@]}")
|
||||
EOF
|
||||
|
|
|
@ -41,9 +41,9 @@ case "$LANG" in
|
|||
PADDING="Odstęp"
|
||||
VERTICAL="W pionie"
|
||||
HORIZONTAL="W poziomie"
|
||||
RAISED_OR_FLAT="Płaski, Podniesiony czy Wklęsły"
|
||||
RAISED_OR_FLAT="Płaski, Uniesiony, Wklęsły"
|
||||
FLAT="płaski - <b>flat</b>"
|
||||
RAISED="podniesiony - <b>raised</b>"
|
||||
RAISED="uniesiony - <b>raised</b>"
|
||||
SUNKEN="wklęsły - <b>sunken</b>"
|
||||
BUTTONS="Przyciski"
|
||||
GRADIENT_TYPE="Typ Gradientu"
|
||||
|
@ -59,8 +59,8 @@ case "$LANG" in
|
|||
INACTIVE_BG_TO="Tło nieaktywnego okna 2"
|
||||
BORDER="Obramowanie okna"
|
||||
BORDER_PX="Obramowanie (px)"
|
||||
ACTIVE_BORDER="Obramowanie aktywnego okna"
|
||||
INACTIVE_BORDER="Obramowanie nieaktywnego okna"
|
||||
ACTIVE_BORDER="Obramowanie akt. okna"
|
||||
INACTIVE_BORDER="Obramowanie nieakt. okna"
|
||||
HANDLEWIDTH="Uchwyt - rozmiar"
|
||||
ACTIVEHANDLE="Aktywny Uchwyt"
|
||||
YES="Tak"
|
||||
|
@ -199,7 +199,7 @@ out+=("^sep()")
|
|||
out+=("$BUTTONS,^checkout(tbuttons)")
|
||||
out+=("^sep(Gradient)")
|
||||
out+=("$GRADIENT_TYPE [ <b>${REST##* }</b> ],^checkout(gradient)")
|
||||
out+=("$PRE_GRADIENTS,^pipe(mbgrad ob)")
|
||||
out+=("<tt><span bgcolor='#16a084'> </span><span bgcolor='#43a480'> </span><span bgcolor='#5da97b'> </span><span bgcolor='#72ad77'> </span><span bgcolor='#84b171'> </span><span bgcolor='#95b66c'> </span><span bgcolor='#a5ba66'> </span><span bgcolor='#b5be61'> </span><span bgcolor='#c3c15a'> </span><span bgcolor='#d1c753'> </span><span bgcolor='#dfc94c'> </span><span bgcolor='#edce44'> </span><span bgcolor='#f4d03f'> </span></tt> $PRE_GRADIENTS,^pipe(mbgrad ob)")
|
||||
out+=(" $GRADIENT_REVERSE,obtctl activegradient '${ABGTO}' '${ABG}';$me")
|
||||
|
||||
out+=("^sep($BORDER)")
|
||||
|
@ -394,7 +394,8 @@ mkconfigfile
|
|||
cat <<EOF > ${MENU_ITEMS}
|
||||
@icon,,$((jgtools_padding + 4)),$((jgtools_padding + 4)),270,150,4,left,top,,,${THUMB}
|
||||
@icon,,$((jgtools_padding + 4)),$((jgtools_padding + 4)),270,150,4,left,top,,,/usr/share/mabox-colorizer/img/colorizer-ob.png
|
||||
|
||||
@rect,,$((jgtools_padding + 4)),$((jgtools_padding + 128)),270,22,0,left,top,#222222 20,#222222 70,
|
||||
@text,,$((jgtools_padding + 138)),$((jgtools_padding + 124)),130,30,0,left,top,#FFFFFF ,${WINCLR},<span size='10400' font_family='Ubuntu'><b>Colorizer</b> Openbox</span>
|
||||
$(printf '%s\n' "${out[@]}")
|
||||
$(printf '%s\n' "${out2[@]}")
|
||||
EOF
|
||||
|
|
|
@ -21,7 +21,7 @@ case "$LANG" in
|
|||
DARKBG="Ciemne tło"
|
||||
SETCOLORS="Ustaw kolory..."
|
||||
RESETTHEME="Resetuj motyw"
|
||||
EXPORTTHEME="Eksportuj obecne kolory jako nowy motyw"
|
||||
EXPORTTHEME="Eksportuj jako nowy motyw"
|
||||
CONFIG_AND_DOCS="Konfiguracja i Dokumentacja"
|
||||
README="PyRadio CZYTAJTO"
|
||||
MANUAL="Manual PyRadio"
|
||||
|
@ -40,7 +40,7 @@ case "$LANG" in
|
|||
DARKBG="Dark Background"
|
||||
SETCOLORS="Set colors individually..."
|
||||
RESETTHEME="Reset theme"
|
||||
EXPORTTHEME="Export current colors as new theme"
|
||||
EXPORTTHEME="Export as new theme"
|
||||
CONFIG_AND_DOCS="Config and Docs"
|
||||
README="PyRadi README"
|
||||
MANUAL="PyRadio Manual"
|
||||
|
@ -170,8 +170,9 @@ if [[ "$1" == "-s" ]]; then
|
|||
cat <<EOF > ${MENU_ITEMS}
|
||||
@icon,,$((jgtools_padding + 4)),$((jgtools_padding + 4)),270,150,4,left,top,,,${THUMB}
|
||||
#@icon,,$((jgtools_padding + 4)),$((jgtools_padding + 4)),270,150,4,left,top,,,/usr/share/mabox-colorizer/img/colorizer-conky.png
|
||||
@rect,,$((jgtools_padding + 144)),$((jgtools_padding + 122)),120,30,4,left,top,#FFFFFF 60,#222222 80,
|
||||
@text,,$((jgtools_padding + 150)),$((jgtools_padding + 122)),120,30,0,left,top,#FFFFFF,${WINCLR}, <b>PyRadio</b>
|
||||
@rect,,$((jgtools_padding + 4)),$((jgtools_padding + 120)),270,34,0,left,top,#222222 20,#222222 70,
|
||||
@text,,$((jgtools_padding + 148)),$((jgtools_padding + 124)),120,30,0,left,top,#FFFFFF ,${WINCLR},<span size='10400' font_family='Ubuntu'><b>Colorizer</b> PyRadio</span>
|
||||
|
||||
|
||||
$(printf '%s\n' "${out[@]}")
|
||||
$(printf '%s\n' "${out2[@]}")
|
||||
|
|
15
bin/conkyctl
15
bin/conkyctl
|
@ -357,7 +357,7 @@ languages () {
|
|||
COLOR_1="Kolor 1 <small>(większy tekst)</small>"
|
||||
COLOR_2="Kolor 2 <small>(pasek/graf)</small>"
|
||||
BACKGROUND="Kolor tła"
|
||||
REGENERATE="Motywy kolorów"
|
||||
COLORSCHEME="Motywy kolorów"
|
||||
OPENTHEMEDIR="Otwórz katalog motywów"
|
||||
APPLY_THEME="Zastosuj motyw"
|
||||
APPLY_TO_ONE="Zastosuj do "
|
||||
|
@ -413,9 +413,9 @@ languages () {
|
|||
COLOR_1="Color 1 <small>(bigger text)</small>"
|
||||
COLOR_2="Color 2 <small>(bars/graphs)</small>"
|
||||
BACKGROUND="Background color"
|
||||
REGENERATE="(Re)Generate colors"
|
||||
COLORSCHEME="Color schemes"
|
||||
OPENTHEMEDIR="Open schemes dir"
|
||||
APPLY_THEME="Color schemes"
|
||||
APPLY_THEME="Apply scheme..."
|
||||
APPLY_TO_ONE="Apply to "
|
||||
APPLY_TO_ALL="Apply to All"
|
||||
NEWTHEME="New Color scheme..."
|
||||
|
@ -469,9 +469,9 @@ languages () {
|
|||
COLOR_1="Color 1 <small>(bigger text)</small>"
|
||||
COLOR_2="Color 2 <small>(bars/graphs)</small>"
|
||||
BACKGROUND="Background color"
|
||||
REGENERATE="(Re)Generate colors"
|
||||
COLORSCHEME="Color schemes"
|
||||
OPENTHEMEDIR="Open schemes dir"
|
||||
APPLY_THEME="Color schemes"
|
||||
APPLY_THEME="Apply scheme..."
|
||||
APPLY_TO_ONE="Apply to "
|
||||
APPLY_TO_ALL="Apply to All"
|
||||
NEWTHEME="New Color scheme..."
|
||||
|
@ -640,9 +640,9 @@ single () {
|
|||
out+=("^sep($COLORS)")
|
||||
if [ "$WINTRANS" == false ];then
|
||||
|
||||
out+=("<span bgcolor='#282828'> <span fgcolor='#ebdbb2'></span> <span fgcolor='#98971a'></span> <span fgcolor='#d79921'></span> <span fgcolor='#cc241d'></span> </span> $REGENERATE,^checkout(regensingle)")
|
||||
out+=("<span bgcolor='#282828'> <span fgcolor='#ebdbb2'></span> <span fgcolor='#98971a'></span> <span fgcolor='#d79921'></span> <span fgcolor='#cc241d'></span> </span> $COLORSCHEME,^checkout(regensingle)")
|
||||
out2+=("^tag(regensingle)")
|
||||
out2+=("^sep($REGENERATE)")
|
||||
out2+=("^sep($COLORSCHEME)")
|
||||
out2+=("$RESETCOLORS,conkyctl resetcolorsone ${1}")
|
||||
out2+=("^sep($GENFROMWP)")
|
||||
out2+=("$LIGHTBG,w2theme conkyone light ${1}")
|
||||
|
@ -657,7 +657,6 @@ single () {
|
|||
themefilename=${i##*/}
|
||||
themename=${themefilename%%.colors}
|
||||
out2+=("<span bgcolor='$own_window_colour'> <span fgcolor='$default_color'></span> <span fgcolor='$color0'></span> <span fgcolor='$color1'></span> <span fgcolor='$color2'></span> </span> $themename,conkyctl settheme $themefilename $1")
|
||||
#out3+=("TEST [ ${title^} ],notify-send.sh $themefilename $1")
|
||||
out3+=("<span bgcolor='$own_window_colour'> <span fgcolor='$default_color'></span> <span fgcolor='$color0'></span> <span fgcolor='$color1'></span> <span fgcolor='$color2'></span> </span> $themename,conkyctl settheme_all $themefilename")
|
||||
done
|
||||
out2+=("^sep()")
|
||||
|
|
61
bin/obtctl
61
bin/obtctl
|
@ -58,7 +58,7 @@ handlewidth () {
|
|||
sd "\.handle.width:.*$" ".handle.width: $1" ${THEMERC}
|
||||
}
|
||||
raised () {
|
||||
#flat or raised
|
||||
#flat 0 or raised 1 or sunken 2
|
||||
read WINRAISED REST <<< "$(grep .title.bg: ${THEMERC} | cut -d':' -f2)"
|
||||
case "$1" in
|
||||
0)
|
||||
|
@ -104,11 +104,11 @@ activegradient () {
|
|||
sd "\.active.border.color:.*$" ".active.border.color: $1" ${THEMERC}
|
||||
|
||||
# calculate color for title.fg and buttons
|
||||
TITLE_FG=$(pastel textcolor ${1}|pastel format hex)
|
||||
TITLE_FG=$(pastel textcolor ${2}|pastel format hex)
|
||||
if [[ "${TITLE_FG}" == *"ffffff"* ]];then
|
||||
TITLE_FG="#EEEEEE"
|
||||
else
|
||||
TITLE_FG="#222222"
|
||||
TITLE_FG="#111111"
|
||||
fi
|
||||
sd "\.active.label.text.color:.*$" ".active.label.text.color: ${TITLE_FG}" ${THEMERC}
|
||||
|
||||
|
@ -176,6 +176,19 @@ clractivebg () {
|
|||
|
||||
sd "menu.items.active.bg.color:.*$" "menu.items.active.bg.color: ${1}" ${THEMERC}
|
||||
sd "menu.items.active.bg.colorTo:.*$" "menu.items.active.bg.colorTo: ${colorTo}" ${THEMERC}
|
||||
|
||||
# calculate color for title.fg and buttons
|
||||
TITLE_FG=$(pastel textcolor ${colorTo}|pastel format hex)
|
||||
if [[ "${TITLE_FG}" == *"ffffff"* ]];then
|
||||
TITLE_FG="#EEEEEE"
|
||||
else
|
||||
TITLE_FG="#111111"
|
||||
fi
|
||||
sd "\.active.label.text.color:.*$" ".active.label.text.color: ${TITLE_FG}" ${THEMERC}
|
||||
|
||||
# Button colors
|
||||
activebuttonscolors "${TITLE_FG}"
|
||||
|
||||
}
|
||||
|
||||
clrnormalbg () {
|
||||
|
@ -234,6 +247,45 @@ activebuttonscolors () {
|
|||
#disabled=$()
|
||||
sd "^window.active.button.*.hover.image.color:.*$" "window.active.button.*.hover.image.color: ${hover}" ${THEMERC}
|
||||
}
|
||||
fontsize () {
|
||||
nspace="http://openbox.org/3.4/rc"
|
||||
cfg="$HOME/.config/openbox/rc.xml"
|
||||
case "$1" in
|
||||
increase)
|
||||
SIZE=$(xmlstarlet sel -N a="$nspace" -t -v '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:size' "$cfg")
|
||||
((SIZE=SIZE+1))
|
||||
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:size' -v "$SIZE" "$cfg"
|
||||
;;
|
||||
decrease)
|
||||
SIZE=$(xmlstarlet sel -N a="$nspace" -t -v '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:size' "$cfg")
|
||||
((SIZE=SIZE-1))
|
||||
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:size' -v "$SIZE" "$cfg"
|
||||
;;
|
||||
*)
|
||||
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:size' -v "$1" "$cfg"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
fontweighttoggle (){
|
||||
nspace="http://openbox.org/3.4/rc"
|
||||
cfg="$HOME/.config/openbox/rc.xml"
|
||||
WEIGHT=$(xmlstarlet sel -N a="$nspace" -t -v '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:weight' "$cfg")
|
||||
if [ "$WEIGHT" = "Normal" ];then
|
||||
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:weight' -v "Bold" "$cfg"
|
||||
else
|
||||
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:weight' -v "Normal" "$cfg"
|
||||
fi
|
||||
}
|
||||
fontslanttoggle (){
|
||||
nspace="http://openbox.org/3.4/rc"
|
||||
cfg="$HOME/.config/openbox/rc.xml"
|
||||
SLANT=$(xmlstarlet sel -N a="$nspace" -t -v '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:slant' "$cfg")
|
||||
if [ "$SLANT" = "Normal" ];then
|
||||
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:slant' -v "Italic" "$cfg"
|
||||
else
|
||||
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:slant' -v "Normal" "$cfg"
|
||||
fi
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
theme) theme "$2";;
|
||||
|
@ -258,6 +310,9 @@ case "$1" in
|
|||
inactivetextcolor) inactivetextcolor "$2";;
|
||||
buttons) buttons "$2";;
|
||||
activebuttonscolors) activebuttonscolors "$2";;
|
||||
fontsize) fontsize "$2";;
|
||||
fontweighttoggle) fontweighttoggle;;
|
||||
fontslanttoggle) fontslanttoggle;;
|
||||
*) : ;;
|
||||
esac
|
||||
|
||||
|
|
10
bin/w2theme
10
bin/w2theme
|
@ -123,9 +123,9 @@ pyradio_theme() {
|
|||
esac
|
||||
}
|
||||
accent () {
|
||||
obtctl clractivebg ${1}
|
||||
colorTo=$(pastel darken 0.2 "${1}"|pastel format hex)
|
||||
obtctl clractivebgto ${colorTo}
|
||||
#obtctl clractivebg ${1}
|
||||
#colorTo=$(pastel darken 0.2 "${1}"|pastel format hex)
|
||||
#obtctl clractivebgto ${colorTo}
|
||||
# JGMENU based menus, sidepanels and tools
|
||||
#jgctl color_title_bg ${1}
|
||||
#TITLE_FG=$(pastel textcolor ${colorTo}|pastel format hex)
|
||||
|
@ -235,7 +235,7 @@ colorize () {
|
|||
light) menu_theme light;;
|
||||
*) : ;;
|
||||
esac
|
||||
# Openbox
|
||||
# Openbox (TUTAJ WARUNEK)
|
||||
obtctl clractivebg ${w[3]}
|
||||
TITLE_FG=$(pastel textcolor ${w[3]}|pastel format hex)
|
||||
if [[ "$TITLE_FG" == *"ffffff"* ]];then
|
||||
|
@ -284,7 +284,7 @@ reverse () {
|
|||
light) menu_theme dark;;
|
||||
*) : ;;
|
||||
esac
|
||||
# Openbox
|
||||
# Openbox (TUTAJ WARUNEK)
|
||||
obtctl clractivebg ${w[3]}
|
||||
obtctl clractivebgto ${w[4]}
|
||||
obtctl clrnormalbg ${w[0]}
|
||||
|
|
|
@ -19,12 +19,17 @@ div.fixeddown {
|
|||
bottom:0;
|
||||
right:0;
|
||||
}
|
||||
.link {cursor:pointer;}
|
||||
.w3-bar-block .w3-btn {width: 100px;text-align:center;}
|
||||
.w3-bar-block .w3-btn:hover {background-color:white;color:gray;}
|
||||
.w3-dropdown-content {min-width: 20px;}
|
||||
</style>
|
||||
<body>
|
||||
|
||||
<div class="w3-sidebar w3-bar-block w3-dark-grey w3-card" style="width:160px">
|
||||
<div class="w3-center w3-margin"><img src="./img/colorizer.png" onclick="openTab(event, 'Colorizer')"></div>
|
||||
<div class="w3-center w3-margin"><img src="./img/colorizer.png" class="link" title="Colorizer" onclick="openTab(event, 'Colorizer')"></div>
|
||||
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Colorizer')">Colorizer</button>
|
||||
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Wall2theme')">Theme Generation</button>
|
||||
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Openbox')">Openbox Theme</button>
|
||||
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Jgmenu')">Menu/Sidepanels</button>
|
||||
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Conky')">Conky</button>
|
||||
|
@ -33,7 +38,7 @@ div.fixeddown {
|
|||
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Tint2')">Tint2 Panel</button>
|
||||
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Terminal')">Terminal theme</button>
|
||||
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Save')">Save and Restore</button>
|
||||
<a class="w3-button w3-round w3-tiny w3-lime w3-margin" href="run://colorizer -s">Launch Colorizer</a>
|
||||
<a class="w3-button w3-round w3-tiny w3-lime w3-margin" href="run://colorizer -s"> Colorizer</a>
|
||||
</div>
|
||||
|
||||
<div style="margin-left:160px;" class="w3-small">
|
||||
|
@ -47,13 +52,13 @@ div.fixeddown {
|
|||
<p>a set of tools to easily customize your Mabox Linux Desktop</p>
|
||||
<p>Easily change look and feel of:
|
||||
<ul>
|
||||
<li><strong>Openbox theme</strong> (windows decorations)</li>
|
||||
<li><strong>Menu</strong>, <strong>Sidepanels</strong> and other <i>jgmenu-based</i> <strong>Mabox tools</strong></li>
|
||||
<li><strong>Conkies</strong></li>
|
||||
<li><strong><span class="w3-tag w3-round w3-tiny w3-green link" onclick="openTab(event, 'Openbox')">Openbox theme</span></strong> (windows decorations)</li>
|
||||
<li><strong><span class="w3-tag w3-round w3-tiny w3-green link" onclick="openTab(event, 'Jgmenu')">Menu/Sidepanels</span></strong> and other <i>jgmenu-based</i> <strong>Mabox tools</strong></li>
|
||||
<li><strong><span class="w3-tag w3-round w3-tiny w3-green link" onclick="openTab(event, 'Conky')">Conkies</span></strong></li>
|
||||
<li><strong>PyRadio</strong> - Internet Radio Player</li>
|
||||
</ul></p>
|
||||
<p>NEW!!</p><p><strong>Automatically generate themes</strong> for all above <strong>from Wallpaper colors</strong></p>
|
||||
<a class="w3-button w3-round w3-small w3-lime w3-margin" href="run://colorizer -s">Launch Colorizer</a>
|
||||
<p><strong><span class="w3-tag w3-round w3-tiny w3-green link" onclick="openTab(event, 'Wall2theme')">Automatically generate themes</span></strong> for all above <strong>from Wallpaper colors</strong> <span class="w3-tag w3-round w3-red">New!</span></p>
|
||||
<a class="w3-button w3-round w3-small w3-lime w3-margin" href="run://colorizer -s"> Colorizer</a>
|
||||
</div>
|
||||
<div class="fixeddown">
|
||||
<div class="w3-bar w3-tiny">
|
||||
|
@ -65,71 +70,164 @@ div.fixeddown {
|
|||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="Wall2theme" class="w3-container tab" style="display:none;min-height:100vh;">
|
||||
<div class="fixed"><a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://colorizer -s"> Colorizer</a></div>
|
||||
<h2>Generating themes from wallpaper</h2>
|
||||
<p></p>
|
||||
</section>
|
||||
<section id="Openbox" class="w3-container tab" style="display:none;min-height:100vh;">
|
||||
<div class="fixed"><a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://colorizer-ob -s">Launch OBtheme module</a></div>
|
||||
<div class="fixed"><a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://colorizer-ob -s"> OBtheme module</a></div>
|
||||
<h2>Openbox theme</h2>
|
||||
<p>The Openbox module allows you to easily customize the appearance of window decorations.</p>
|
||||
<p>It works with MBcolors theme - defaut one.</p>
|
||||
<p>It works with <strong>MBcolors theme</strong> - defaut one.</p>
|
||||
|
||||
<p>You can change some basic settings directly from this screen. For much more options, fine-tunning and colors choices launch OBtheme module.</p>
|
||||
<p>You can change most of basic settings directly from this help screen.</p>
|
||||
<p>For much more options, fine-tunning and colors choices launch OBtheme module.</p>
|
||||
|
||||
<h4>Active window titlebar color</h4>
|
||||
<div class="w3-panel w3-border w3-dark-grey">
|
||||
<p>You can change active window titlebar color by clicking circles below.</p>
|
||||
<p class="w3-center w3-margin">
|
||||
<a class="w3-btn w3-circle w3-small w3-margin-bottom" style="background-color:#DDDDDD" href="run://obtctl clractivebg #DDDDDD"> </a>
|
||||
<a class="w3-btn w3-circle w3-small w3-margin-bottom" style="background-color:#a4c400" href="run://obtctl clractivebg #a4c400"> </a>
|
||||
<a class="w3-btn w3-circle w3-small w3-margin-bottom" style="background-color:#60a917" href="run://obtctl clractivebg #60a917"> </a>
|
||||
<a class="w3-btn w3-circle w3-small w3-margin-bottom" style="background-color:#008a00" href="run://obtctl clractivebg #008a00"> </a>
|
||||
<a class="w3-btn w3-circle w3-small w3-margin-bottom" style="background-color:#00aba9" href="run://obtctl clractivebg #00aba9"> </a>
|
||||
<a class="w3-btn w3-circle w3-small w3-margin-bottom" style="background-color:#1ba1e2" href="run://obtctl clractivebg #1ba1e2"> </a>
|
||||
<a class="w3-btn w3-circle w3-small w3-margin-bottom" style="background-color:#3e65ff" href="run://obtctl clractivebg #3e65ff"> </a>
|
||||
<a class="w3-btn w3-circle w3-small w3-margin-bottom" style="background-color:#0050ef" href="run://obtctl clractivebg #0050ef"> </a>
|
||||
<a class="w3-btn w3-circle w3-small w3-margin-bottom" style="background-color:#6a00ff" href="run://obtctl clractivebg #6a00ff"> </a>
|
||||
<a class="w3-btn w3-circle w3-small w3-margin-bottom" style="background-color:#aa00ff" href="run://obtctl clractivebg #aa00ff"> </a>
|
||||
<a class="w3-btn w3-circle w3-small w3-margin-bottom" style="background-color:#f472d0" href="run://obtctl clractivebg #f472d0"> </a>
|
||||
<a class="w3-btn w3-circle w3-small w3-margin-bottom" style="background-color:#d80073" href="run://obtctl clractivebg #d80073"> </a>
|
||||
<a class="w3-btn w3-circle w3-small w3-margin-bottom" style="background-color:#a20025" href="run://obtctl clractivebg #a20025"> </a>
|
||||
<a class="w3-btn w3-circle w3-small w3-margin-bottom" style="background-color:#e51400" href="run://obtctl clractivebg #e51400"> </a>
|
||||
<a class="w3-btn w3-circle w3-small w3-margin-bottom" style="background-color:#fa6800" href="run://obtctl clractivebg #fa6800"> </a>
|
||||
<a class="w3-btn w3-circle w3-small w3-margin-bottom" style="background-color:#f0a30a" href="run://obtctl clractivebg #f0a30a"> </a>
|
||||
<a class="w3-btn w3-circle w3-small w3-margin-bottom" style="background-color:#e3c800" href="run://obtctl clractivebg #e3c800"> </a>
|
||||
<a class="w3-btn w3-circle w3-small w3-margin-bottom" style="background-color:#825a2c" href="run://obtctl clractivebg #825a2c"> </a>
|
||||
<a class="w3-btn w3-circle w3-small w3-margin-bottom" style="background-color:#6d8764" href="run://obtctl clractivebg #6d8764"> </a>
|
||||
<a class="w3-btn w3-circle w3-small w3-margin-bottom" style="background-color:#647687" href="run://obtctl clractivebg #647687"> </a>
|
||||
<a class="w3-btn w3-circle w3-small w3-margin-bottom" style="background-color:#76608a" href="run://obtctl clractivebg #76608a"> </a>
|
||||
<a class="w3-btn w3-circle w3-small w3-margin-bottom" style="background-color:#87794e" href="run://obtctl clractivebg #87794e"> </a>
|
||||
<a class="w3-btn w3-circle w3-small w3-margin-bottom" style="background-color:#a0522d" href="run://obtctl clractivebg #a0522d"> </a>
|
||||
<a class="w3-btn w3-circle w3-small w3-margin-bottom" style="background-color:#222222" href="run://obtctl clractivebg #222222"> </a>
|
||||
</p>
|
||||
<div class="w3-bar w3-border w3-round w3-dark-grey w3-margin-bottom">
|
||||
<span class="w3-bar-item w3-border-right w3-black">Quickly set:</span>
|
||||
<div class="w3-dropdown-hover">
|
||||
<button class="w3-button w3-small w3-border-right">Border</button>
|
||||
<div class="w3-dropdown-content w3-bar-block w3-border w3-dark-grey w3-card">
|
||||
<a class="w3-bar-item w3-btn" href="run://obtctl borderWidth 0">0</a>
|
||||
<a class="w3-bar-item w3-btn" href="run://obtctl borderWidth 1">1</a>
|
||||
<a class="w3-bar-item w3-btn" href="run://obtctl borderWidth 2">2</a>
|
||||
<a class="w3-bar-item w3-btn" href="run://obtctl borderWidth 3">3</a>
|
||||
<a class="w3-bar-item w3-btn" href="run://obtctl borderWidth 4">4</a>
|
||||
<a class="w3-bar-item w3-btn" href="run://obtctl borderWidth 8">8</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="w3-dropdown-hover">
|
||||
<button class="w3-button w3-small w3-border-right">Padding</button>
|
||||
<div class="w3-dropdown-content w3-bar-block w3-border w3-dark-grey w3-card">
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl paddingHeight 0">0</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl paddingHeight 1">1</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl paddingHeight 2">2</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl paddingHeight 3">3</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl paddingHeight 4">4</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl paddingHeight 6">6</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl paddingHeight 8">8</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl paddingHeight 10">10</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl paddingHeight 12">12</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl paddingHeight 16">16</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl paddingHeight 20">20</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="w3-dropdown-hover">
|
||||
<button class="w3-button w3-small w3-border-right">Titlebar style</button>
|
||||
<div class="w3-dropdown-content w3-bar-block w3-border w3-dark-grey w3-card">
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl raised 1">raised</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl raised 0">flat</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl raised 2">sunken</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="w3-dropdown-hover">
|
||||
<button class="w3-button w3-small w3-border-right">Buttons</button>
|
||||
<div class="w3-dropdown-content w3-bar-block w3-border w3-dark-grey w3-card">
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl buttons tiny"><img src="./img/tiny.png">tiny</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl buttons normal"><img src="./img/normal.png">normal</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl buttons bold"><img src="./img/bold.png">bold</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl buttons dots"><img src="./img/dots.png">dots</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h5>Window title settings</h5>
|
||||
<!-- FONT FAMILY AND SIZE //-->
|
||||
<div class="w3-show-inline-block">
|
||||
<div class="w3-bar w3-border w3-round w3-dark-grey">
|
||||
<a class="w3-bar-item w3-btn w3-hover-gray w3-border-right" href="run://mb-setfont obtitle">font family</a>
|
||||
<div class="w3-dropdown-hover">
|
||||
<button class="w3-button w3-small w3-border-right">size</button>
|
||||
<div class="w3-dropdown-content w3-bar-block w3-border w3-dark-grey w3-card">
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl fontsize 8">8</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl fontsize 9">9</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl fontsize 10">10</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl fontsize 11">11</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl fontsize 12">12</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl fontsize 13">13</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl fontsize 14">14</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl fontsize 15">15</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl fontsize 16">16</a>
|
||||
</div>
|
||||
</div>
|
||||
<a class="w3-bar-item w3-btn w3-hover-gray w3-border-right" href="run://obtctl fontsize increase">+</a>
|
||||
<a class="w3-bar-item w3-btn w3-hover-gray" href="run://obtctl fontsize decrease">-</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- WEIGHT AND SLANT: BOLD ITALIC //-->
|
||||
<div class="w3-show-inline-block">
|
||||
<div class="w3-bar w3-border w3-round w3-dark-grey">
|
||||
<a class="w3-bar-item w3-btn w3-hover-gray w3-border-right" href="run://obtctl fontweighttoggle"><strong>B</strong></a>
|
||||
<a class="w3-bar-item w3-btn w3-hover-gray" href="run://obtctl fontslanttoggle"><em>I</em></a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- TEXT JUSTIFY //-->
|
||||
<div class="w3-show-inline-block">
|
||||
<div class="w3-bar w3-border w3-round w3-dark-grey">
|
||||
<a class="w3-bar-item w3-btn w3-hover-gray w3-border-right" href="run://obtctl textjustify left"></a>
|
||||
<a class="w3-bar-item w3-btn w3-hover-gray w3-border-right" href="run://obtctl textjustify center"></a>
|
||||
<a class="w3-bar-item w3-btn w3-hover-gray" href="run://obtctl textjustify right"></a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- SHADOW EFFECT //-->
|
||||
<div class="w3-show-inline-block">
|
||||
<div class="w3-bar w3-border w3-round w3-dark-grey">
|
||||
<div class="w3-dropdown-hover">
|
||||
<button class="w3-button w3-small w3-border-right">shadow</button>
|
||||
<div class="w3-dropdown-content w3-bar-block w3-border w3-dark-grey w3-card">
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl shadow 0">no shadow</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl shadow 1">dark</a>
|
||||
<a class="w3-bar-item w3-btn w3-tiny" href="run://obtctl shadow 2">light</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="w3-row-padding w3-margin-top">
|
||||
<div class="w3-col m5 w3-black w3-round">
|
||||
<h5>Active window titlebar color</h5>
|
||||
<p class="w3-center">
|
||||
<a class="w3-btn w3-circle w3-tiny w3-margin-bottom" style="background-color:#DDDDDD" href="run://obtctl clractivebg #DDDDDD"> </a>
|
||||
<a class="w3-btn w3-circle w3-tiny w3-margin-bottom" style="background-color:#a4c400" href="run://obtctl clractivebg #a4c400"> </a>
|
||||
<a class="w3-btn w3-circle w3-tiny w3-margin-bottom" style="background-color:#60a917" href="run://obtctl clractivebg #60a917"> </a>
|
||||
<a class="w3-btn w3-circle w3-tiny w3-margin-bottom" style="background-color:#008a00" href="run://obtctl clractivebg #008a00"> </a>
|
||||
<a class="w3-btn w3-circle w3-tiny w3-margin-bottom" style="background-color:#00aba9" href="run://obtctl clractivebg #00aba9"> </a>
|
||||
<a class="w3-btn w3-circle w3-tiny w3-margin-bottom" style="background-color:#1ba1e2" href="run://obtctl clractivebg #1ba1e2"> </a>
|
||||
<a class="w3-btn w3-circle w3-tiny w3-margin-bottom" style="background-color:#3e65ff" href="run://obtctl clractivebg #3e65ff"> </a>
|
||||
<a class="w3-btn w3-circle w3-tiny w3-margin-bottom" style="background-color:#0050ef" href="run://obtctl clractivebg #0050ef"> </a>
|
||||
<a class="w3-btn w3-circle w3-tiny w3-margin-bottom" style="background-color:#6a00ff" href="run://obtctl clractivebg #6a00ff"> </a>
|
||||
<a class="w3-btn w3-circle w3-tiny w3-margin-bottom" style="background-color:#aa00ff" href="run://obtctl clractivebg #aa00ff"> </a>
|
||||
<a class="w3-btn w3-circle w3-tiny w3-margin-bottom" style="background-color:#f472d0" href="run://obtctl clractivebg #f472d0"> </a>
|
||||
<a class="w3-btn w3-circle w3-tiny w3-margin-bottom" style="background-color:#d80073" href="run://obtctl clractivebg #d80073"> </a>
|
||||
<a class="w3-btn w3-circle w3-tiny w3-margin-bottom" style="background-color:#a20025" href="run://obtctl clractivebg #a20025"> </a>
|
||||
<a class="w3-btn w3-circle w3-tiny w3-margin-bottom" style="background-color:#e51400" href="run://obtctl clractivebg #e51400"> </a>
|
||||
<a class="w3-btn w3-circle w3-tiny w3-margin-bottom" style="background-color:#fa6800" href="run://obtctl clractivebg #fa6800"> </a>
|
||||
<a class="w3-btn w3-circle w3-tiny w3-margin-bottom" style="background-color:#f0a30a" href="run://obtctl clractivebg #f0a30a"> </a>
|
||||
<a class="w3-btn w3-circle w3-tiny w3-margin-bottom" style="background-color:#e3c800" href="run://obtctl clractivebg #e3c800"> </a>
|
||||
<a class="w3-btn w3-circle w3-tiny w3-margin-bottom" style="background-color:#825a2c" href="run://obtctl clractivebg #825a2c"> </a>
|
||||
<a class="w3-btn w3-circle w3-tiny w3-margin-bottom" style="background-color:#6d8764" href="run://obtctl clractivebg #6d8764"> </a>
|
||||
<a class="w3-btn w3-circle w3-tiny w3-margin-bottom" style="background-color:#647687" href="run://obtctl clractivebg #647687"> </a>
|
||||
<a class="w3-btn w3-circle w3-tiny w3-margin-bottom" style="background-color:#76608a" href="run://obtctl clractivebg #76608a"> </a>
|
||||
<a class="w3-btn w3-circle w3-tiny w3-margin-bottom" style="background-color:#87794e" href="run://obtctl clractivebg #87794e"> </a>
|
||||
<a class="w3-btn w3-circle w3-tiny w3-margin-bottom" style="background-color:#a0522d" href="run://obtctl clractivebg #a0522d"> </a>
|
||||
<a class="w3-btn w3-circle w3-tiny w3-margin-bottom" style="background-color:#222222" href="run://obtctl clractivebg #222222"> </a>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
<div class="w3-col m7">
|
||||
<h5>Gradients</h5>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<em>Note!<br />
|
||||
Changing the background color will also set:
|
||||
<ul>
|
||||
<li>border color to the same color</li>
|
||||
<li>computed BGCOLOR_TO color for a subtle gradient</li>
|
||||
</ul>
|
||||
You can change them to you liking afterwards.
|
||||
Changing the background color will also set:
|
||||
<ul>
|
||||
<li>border color to the same color</li>
|
||||
<li>computed BGCOLOR_TO color for a subtle gradient</li>
|
||||
</ul>
|
||||
You can change them to you liking afterwards.
|
||||
</em>
|
||||
<hr />
|
||||
<h4>Buttons</h4>
|
||||
<p>Click icons below to change buttons</p>
|
||||
<table class="w3-table w3-bordered w3-dark-grey w3-small w3-centered">
|
||||
<tr class="w3-teal">
|
||||
<th>Tiny</th>
|
||||
<th>Normal</th>
|
||||
<th>Bold</th>
|
||||
<th>Dots</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="run://obtctl buttons tiny"><img src="./img/tiny.png"></a></td>
|
||||
<td><a href="run://obtctl buttons normal"><img src="./img/normal.png"></a></td>
|
||||
<td><a href="run://obtctl buttons bold"><img src="./img/bold.png"></a></td>
|
||||
<td><a href="run://obtctl buttons dots"><img src="./img/dots.png"></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr />
|
||||
|
||||
<h4>Gradients</h4>
|
||||
<p>Openbox title bar can use various types of gradients...</p>
|
||||
<table class="w3-table w3-bordered w3-dark-grey w3-small">
|
||||
|
@ -169,35 +267,20 @@ You can change them to you liking afterwards.
|
|||
<td>Pyramid</td>
|
||||
<td><a href="run://obtctl gradient pyramid"><img src="./img/pyramid.png"></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2" class="w3-teal">Raised, flat or sunken?</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Raised</td>
|
||||
<td><a href="run://obtctl raised 1"><img src="./img/raised.png"></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Flat</td>
|
||||
<td><a href="run://obtctl raised 0"><img src="./img/flat.png"></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sunken</td>
|
||||
<td><a href="run://obtctl raised 2"><img src="./img/flat.png"></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr />
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
<section id="Jgmenu" class="w3-container tab" style="display:none;min-height:100vh">
|
||||
<div class="fixed"><a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://colorizer-menus -s">Launch Menus module</a></div>
|
||||
<div class="fixed"><a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://colorizer-menus -s"> Menus module</a></div>
|
||||
<h2>Menu / Sidepanels</h2>
|
||||
<p>Menu / Sidepanels module ...</p>
|
||||
</section>
|
||||
|
||||
|
||||
<section id="Conky" class="w3-container tab" style="display:none;min-height:100vh;">
|
||||
<div class="fixed"><a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://colorizer-conky -s">Launch Conky module</a></div>
|
||||
<div class="fixed"><a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://colorizer-conky -s"> Conky module</a></div>
|
||||
<h2>Conky</h2>
|
||||
<p>Mabox provides nine Conky configs that you can easily customize with the Colorizer Conky module.</p>
|
||||
<p>You can easily set up:
|
||||
|
@ -243,7 +326,7 @@ You can change them to you liking afterwards.
|
|||
<p><a class="w3-button w3-inline w3-round w3-tiny w3-lime" href="run://jgtint2launcher -s">Add/Remove Launchers to panel</a></p>
|
||||
</section>
|
||||
<section id="Wallpapers" class="w3-container tab" style="display:none;min-height:100vh;">
|
||||
<div class="fixed"><a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://jgwallpaperchanger -c">Launch Wallpaper Menu</a></div>
|
||||
<div class="fixed"><a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://jgwallpaperchanger -c"> Wallpaper Menu</a></div>
|
||||
<h2>Wallpapers</h2>
|
||||
<p>Colorizer automatically generates a color palette from the currently set wallpaper.</p>
|
||||
<h3>Automatic themes generation</h3>
|
||||
|
@ -258,7 +341,7 @@ You can change them to you liking afterwards.
|
|||
</section>
|
||||
|
||||
<section id="Gradients" class="w3-container tab" style="display:none;min-height:100vh;">
|
||||
<div class="fixed"><a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://jgwallpaperchanger -c">Launch Wallpaper Menu</a></div>
|
||||
<div class="fixed"><a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://jgwallpaperchanger -c"> Wallpaper Menu</a></div>
|
||||
<h2>Gradients</h2>
|
||||
<p>Colorizer provides over 300 ready-made, beautiful gradients.
|
||||
You can use them to decorate your Openbox windows or to set the background of menus / side panels</p>
|
||||
|
@ -266,7 +349,7 @@ You can use them to decorate your Openbox windows or to set the background of me
|
|||
</section>
|
||||
|
||||
<section id="Save" class="w3-container tab" style="display:none;min-height:100vh;">
|
||||
<div class="fixed"><a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://mb-obthemes">Launch Theme Manager</a></div>
|
||||
<div class="fixed"><a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://mb-obthemes"> Theme Manager</a></div>
|
||||
<h2>Save and Restore</h2>
|
||||
<p>If you are satisfied with your configuration, you can save it as a meta-theme so that you can restore it later.</p>
|
||||
<p>Theme Manager will save:
|
||||
|
@ -279,7 +362,7 @@ You can use them to decorate your Openbox windows or to set the background of me
|
|||
<li>Menu / Sidepanels colors</li>
|
||||
<li>Tint2 panel</li>
|
||||
</ul>
|
||||
</p><a class="w3-button w3-round w3-tiny w3-lime w3-margin" href="run://mb-obthemes">Launch Theme Manager</a>
|
||||
</p><a class="w3-button w3-round w3-tiny w3-lime w3-margin" href="run://mb-obthemes"> Theme Manager</a>
|
||||
</section>
|
||||
|
||||
|
||||
|
|
|
@ -19,12 +19,14 @@ div.fixeddown {
|
|||
bottom:0;
|
||||
right:0;
|
||||
}
|
||||
.link {cursor:pointer;}
|
||||
</style>
|
||||
<body>
|
||||
|
||||
<div class="w3-sidebar w3-bar-block w3-dark-grey w3-card" style="width:160px">
|
||||
<div class="w3-center w3-margin"><img src="./img/colorizer.png" onclick="openTab(event, 'Colorizer')"></div>
|
||||
<div class="w3-center w3-margin"><img src="./img/colorizer.png" class="link" title="Colorizer" onclick="openTab(event, 'Colorizer')"></div>
|
||||
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Colorizer')">Colorizer</button>
|
||||
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Wall2theme')">Generowanie Motywów</button>
|
||||
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Openbox')">Motyw Openbox</button>
|
||||
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Jgmenu')">Menu/Panele Boczne</button>
|
||||
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Conky')">Conky</button>
|
||||
|
@ -47,12 +49,12 @@ div.fixeddown {
|
|||
<p>narzędzie do ustawiania Pulpitu Mabox Linux</p>
|
||||
<p>Z łatwością zmienisz wygląd:
|
||||
<ul>
|
||||
<li><strong>motywu Openbox</strong> (dekoracje okien)</li>
|
||||
<li><strong>Menu</strong>, <strong>Paneli bocznych</strong> oraz innych <i>bazujących na jgmenu</i> <strong>narzędzi Mabox</strong></li>
|
||||
<li><strong>Conky</strong></li>
|
||||
<li><strong><span class="w3-tag w3-round w3-tiny w3-green link" onclick="openTab(event, 'Openbox')">motywu Openbox</span></strong> (dekoracje okien)</li>
|
||||
<li><strong><span class="w3-tag w3-round w3-tiny w3-green link" onclick="openTab(event, 'Jgmenu')">Menu oraz Paneli bocznych</span></strong> oraz innych <i>bazujących na jgmenu</i> <strong>narzędzi Mabox</strong></li>
|
||||
<li><strong><span class="w3-tag w3-round w3-tiny w3-green link" onclick="openTab(event, 'Conky')">Conky</span></strong></li>
|
||||
<li><strong>PyRadio</strong> - Internetowy Radio Odtwarzacz</li>
|
||||
</ul></p>
|
||||
<p>NOWE!!</p><p><strong>Automatyczne generowanie kolorystyki</strong> na podstawie <strong>kolorów tapety</strong></p>
|
||||
<p><span class="w3-tag w3-round w3-red">Nowe!</span> <strong><span class="w3-tag w3-round w3-tiny w3-green link" onclick="openTab(event, 'Wall2theme')">Automatyczne generowanie kolorystyki</span></strong> na podstawie <strong>kolorów tapety</strong></p>
|
||||
<a class="w3-button w3-round w3-small w3-lime w3-margin" href="run://colorizer -s">Uruchom Colorizer</a>
|
||||
</div>
|
||||
<div class="fixeddown">
|
||||
|
@ -65,7 +67,12 @@ div.fixeddown {
|
|||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="Wall2theme" class="w3-container tab" style="display:none;min-height:100vh;">
|
||||
<div class="fixed"><a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://colorizer -s">Uruchom Colorizer</a></div>
|
||||
<h2>Generowanie motywów z tapety</h2>
|
||||
<p>Colorizer potrafi automatycznie generować kolorystykę po zmianie tapety. <em>Domyślnie włączone.</em></p>
|
||||
|
||||
</section>
|
||||
<section id="Openbox" class="w3-container tab" style="display:none;min-height:100vh;">
|
||||
<div class="fixed"><a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://colorizer-ob -s">Uruchom moduł Openbox</a></div>
|
||||
<h2>Motyw Openbox</h2>
|
||||
|
|
Loading…
Reference in New Issue