parent
587d170ccd
commit
785adde172
|
@ -27,8 +27,10 @@ case "$LANG" in
|
||||||
LIGHTBG="Jasne tło"
|
LIGHTBG="Jasne tło"
|
||||||
DARKBG="Ciemne tło"
|
DARKBG="Ciemne tło"
|
||||||
GLOBALSETTINGS="Ustawienia globalne (zmień dla wszystkich)"
|
GLOBALSETTINGS="Ustawienia globalne (zmień dla wszystkich)"
|
||||||
DEFCOLOR="Domyślny kolor"
|
DEFCOLOR="Domyślny kolor <small>(tekst i ramka)</small>"
|
||||||
COLOR="Kolor"
|
COLOR_0="Kolor 0 <small>(tekst2)</small>"
|
||||||
|
COLOR_1="Kolor 1 <small>(większy tekst)</small>"
|
||||||
|
COLOR_2="Kolor 2 <small>(pasek/graf)</small>"
|
||||||
BACKGROUND="Kolor tła"
|
BACKGROUND="Kolor tła"
|
||||||
TRANSPARENT="Przezroczyste?"
|
TRANSPARENT="Przezroczyste?"
|
||||||
YES="Tak"
|
YES="Tak"
|
||||||
|
@ -41,6 +43,8 @@ case "$LANG" in
|
||||||
SHADOW="Cień"
|
SHADOW="Cień"
|
||||||
DRAW="Rysuj"
|
DRAW="Rysuj"
|
||||||
BORDERS="Obramowanie"
|
BORDERS="Obramowanie"
|
||||||
|
STIPPLED_BORDERS="Nakrapiane"
|
||||||
|
SOLID_LINE="linia ciągła"
|
||||||
INDSETTINGS="Ustawiania indywidualne"
|
INDSETTINGS="Ustawiania indywidualne"
|
||||||
MORECONKIES="Więcej Conky..."
|
MORECONKIES="Więcej Conky..."
|
||||||
CLICKTOSTART="Kliknij aby uruchomić"
|
CLICKTOSTART="Kliknij aby uruchomić"
|
||||||
|
@ -55,8 +59,10 @@ case "$LANG" in
|
||||||
LIGHTBG="Light Background"
|
LIGHTBG="Light Background"
|
||||||
DARKBG="Dark Background"
|
DARKBG="Dark Background"
|
||||||
GLOBALSETTINGS="Global settings (apply to all)"
|
GLOBALSETTINGS="Global settings (apply to all)"
|
||||||
DEFCOLOR="Default color"
|
DEFCOLOR="Default color <small>(text and border)</small>"
|
||||||
COLOR="Color"
|
COLOR_0="Color 0 <small>(text2)</small>"
|
||||||
|
COLOR_1="Color 1 <small>(bigger text)</small>"
|
||||||
|
COLOR_2="Color 2 <small>(bars/graphs)</small>"
|
||||||
BACKGROUND="Background color"
|
BACKGROUND="Background color"
|
||||||
TRANSPARENT="Transparent?"
|
TRANSPARENT="Transparent?"
|
||||||
YES="Yes"
|
YES="Yes"
|
||||||
|
@ -67,8 +73,10 @@ case "$LANG" in
|
||||||
DECREASE="Decrease"
|
DECREASE="Decrease"
|
||||||
OLINE="Outline"
|
OLINE="Outline"
|
||||||
SHADOW="Shadow"
|
SHADOW="Shadow"
|
||||||
DRAW="Rysuj"
|
DRAW="Draw"
|
||||||
BORDERS="Borders"
|
BORDERS="Borders"
|
||||||
|
STIPPLED_BORDERS="Stippled borders"
|
||||||
|
SOLID_LINE="solid line"
|
||||||
INDSETTINGS="Individual settings"
|
INDSETTINGS="Individual settings"
|
||||||
MORECONKIES="More Conkies Available"
|
MORECONKIES="More Conkies Available"
|
||||||
CLICKTOSTART="click to start"
|
CLICKTOSTART="click to start"
|
||||||
|
@ -115,13 +123,13 @@ if pgrep -af "conky.*mbcolor" >/dev/null; then
|
||||||
out+=("$LIGHTBG,w2theme conky light;$me")
|
out+=("$LIGHTBG,w2theme conky light;$me")
|
||||||
out+=("$DARKBG,w2theme conky dark;$me")
|
out+=("$DARKBG,w2theme conky dark;$me")
|
||||||
out+=("^sep(<small><i>$GLOBALSETTINGS</i></small>)")
|
out+=("^sep(<small><i>$GLOBALSETTINGS</i></small>)")
|
||||||
out+=("<small><span bgcolor='$CLR'> </span><span weight='bold' ${BG} fgcolor='$CLR'> AbCd </span></small> $DEFCOLOR <small>(text and border)</small>,^pipe(mbclr '$CLR' conkyctl default_color_all DEFAULT_COLOR '$me')")
|
out+=("<small><span bgcolor='$CLR'> </span><span weight='bold' ${BG} fgcolor='$CLR'> AbCd </span></small> $DEFCOLOR,^pipe(mbclr '$CLR' conkyctl default_color_all '${DEFCOLOR}' '$me')")
|
||||||
out+=("<small><span bgcolor='$CLR0'> </span><span weight='bold' ${BG} fgcolor='$CLR0'> AbCd </span></small> $COLOR 0 <small>(text2)</small>,^pipe(mbclr '$CLR0' conkyctl color0_all COLOR_0 '$me')")
|
out+=("<small><span bgcolor='$CLR0'> </span><span weight='bold' ${BG} fgcolor='$CLR0'> AbCd </span></small> $COLOR_0,^pipe(mbclr '$CLR0' conkyctl color0_all '${COLOR_0}' '$me')")
|
||||||
out+=("<small><span bgcolor='$CLR1'> </span><span weight='bold' ${BG} fgcolor='$CLR1'> AbCd </span></small> $COLOR 1 <small>(bigger text)</small>,^pipe(mbclr '$CLR1' conkyctl color1_all COLOR_1 '$me')")
|
out+=("<small><span bgcolor='$CLR1'> </span><span weight='bold' ${BG} fgcolor='$CLR1'> AbCd </span></small> $COLOR_1,^pipe(mbclr '$CLR1' conkyctl color1_all '${COLOR_1}' '$me')")
|
||||||
out+=("<small><span bgcolor='$CLR2'> </span><span weight='bold' ${BG} fgcolor='$CLR2'> AbCd </span></small> $COLOR 2 <small>(bars/graphs)</small>,^pipe(mbclr '$CLR2' conkyctl color2_all COLOR_2 '$me')")
|
out+=("<small><span bgcolor='$CLR2'> </span><span weight='bold' ${BG} fgcolor='$CLR2'> AbCd </span></small> $COLOR_2,^pipe(mbclr '$CLR2' conkyctl color2_all '${COLOR_2}' '$me')")
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
if [ "$WINTRANS" == false ];then
|
if [ "$WINTRANS" == false ];then
|
||||||
out+=("<small><span bgcolor='$WINCLR'> </span><span ${BG} fgcolor='$WINCLR'> AbCd </span></small> $BACKGROUND,^checkout(trans)")
|
out+=("<small><span bgcolor='$WINCLR'> </span><span weight='bold' ${BG} fgcolor='$WINCLR'> AbCd </span></small> $BACKGROUND,^checkout(trans)")
|
||||||
else
|
else
|
||||||
out+=("<small><span>transparent </span></small> $BACKGROUND,^checkout(trans)")
|
out+=("<small><span>transparent </span></small> $BACKGROUND,^checkout(trans)")
|
||||||
fi
|
fi
|
||||||
|
@ -130,7 +138,7 @@ if pgrep -af "conky.*mbcolor" >/dev/null; then
|
||||||
out2+=("$YES,conkyctl transparent_all true;$me")
|
out2+=("$YES,conkyctl transparent_all true;$me")
|
||||||
out2+=("$NO,conkyctl transparent_all false;$me")
|
out2+=("$NO,conkyctl transparent_all false;$me")
|
||||||
out2+=("^sep()")
|
out2+=("^sep()")
|
||||||
out2+=("<small><span bgcolor='$WINCLR'> </span></small> $BACKGROUND,^pipe(mbclr '$WINCLR' conkyctl win_bgcolor_all WIN_BGCOLOR '$me')")
|
out2+=("<small><span bgcolor='$WINCLR'> </span></small> $BACKGROUND,^pipe(mbclr '$WINCLR' conkyctl win_bgcolor_all '${BACKGROUND}' '$me')")
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
out+=("$FONTS [ <b>$FONT $FONTSIZE</b> ],^checkout(font)")
|
out+=("$FONTS [ <b>$FONT $FONTSIZE</b> ],^checkout(font)")
|
||||||
out2+=("^tag(font)")
|
out2+=("^tag(font)")
|
||||||
|
@ -154,8 +162,9 @@ if pgrep -af "conky.*mbcolor" >/dev/null; then
|
||||||
out2+=("^sep($DRAW $BORDERS?)")
|
out2+=("^sep($DRAW $BORDERS?)")
|
||||||
out2+=("$YES,conkyctl draw_borders_all true;$me")
|
out2+=("$YES,conkyctl draw_borders_all true;$me")
|
||||||
out2+=("$NO,conkyctl draw_borders_all false;$me")
|
out2+=("$NO,conkyctl draw_borders_all false;$me")
|
||||||
out2+=("^sep(STIPPLED BORDERS?)")
|
out2+=("^sep($STIPPLED_BORDERS?)")
|
||||||
out2+=("0,conkyctl stippled_borders_all 0;$me")
|
out2+=("0 ($SOLID_LINE),conkyctl stippled_borders_all 0;$me")
|
||||||
|
out2+=("^sep()")
|
||||||
out2+=("1,conkyctl stippled_borders_all 1;$me")
|
out2+=("1,conkyctl stippled_borders_all 1;$me")
|
||||||
out2+=("2,conkyctl stippled_borders_all 2;$me")
|
out2+=("2,conkyctl stippled_borders_all 2;$me")
|
||||||
out2+=("3,conkyctl stippled_borders_all 3;$me")
|
out2+=("3,conkyctl stippled_borders_all 3;$me")
|
||||||
|
|
207
bin/colorizer-ob
207
bin/colorizer-ob
|
@ -12,6 +12,103 @@ OBTHEME=$(awk '/<theme>/ {while (getline n) {if (match(n, /<name>/))
|
||||||
|
|
||||||
THEMERC="$HOME/.themes/$OBTHEME/openbox-3/themerc"
|
THEMERC="$HOME/.themes/$OBTHEME/openbox-3/themerc"
|
||||||
me="colorizer-ob -s"
|
me="colorizer-ob -s"
|
||||||
|
|
||||||
|
case "$LANG" in
|
||||||
|
pl*)
|
||||||
|
OBTHEME_LBL="Motyw OpenBox"
|
||||||
|
TITLEBAR="Pasek tytułowy"
|
||||||
|
ACTIVE_BG="Tło aktywnego okna"
|
||||||
|
INACTIVE_BG="Tło nieaktywnego okna"
|
||||||
|
TITLEBAR_TEXT="Tekst paska tytułowego"
|
||||||
|
FONT="Czcionka"
|
||||||
|
TEXTALIGN="Wyrównanie tekstu"
|
||||||
|
SHADOW="Cień"
|
||||||
|
NOSHADOW="bez cienia"
|
||||||
|
DARK="Ciemny"
|
||||||
|
LIGHT="Jasny"
|
||||||
|
TEXT="Tekst"
|
||||||
|
ACTIVE_FG="w aktywnym oknie"
|
||||||
|
INACTIVE_FG="w nieaktywnym oknie"
|
||||||
|
PADDING="Odstęp"
|
||||||
|
VERTICAL="W pionie"
|
||||||
|
HORIZONTAL="W poziomie"
|
||||||
|
RAISED_OR_FLAT="Podniesiony czy płaski"
|
||||||
|
FLAT="płaski - flat"
|
||||||
|
RAISED="podniesiony - raised"
|
||||||
|
BUTTONS="Przyciski"
|
||||||
|
GRADIENT_TYPE="Typ Gradientu"
|
||||||
|
SOLID_COLOR="Jednolity kolor (brak gradientu)"
|
||||||
|
SPLITVERTICAL="Podział w pionie"
|
||||||
|
MIRRORHORIZONTAL="LustroPoziome"
|
||||||
|
DIAGONAL="Przekątna"
|
||||||
|
CROSSDIAGONAL="Przekątna krzyżowa"
|
||||||
|
PYRAMID="Piramida"
|
||||||
|
ACTIVE_BG_TO="Tło aktywnego okna 2"
|
||||||
|
INACTIVE_BG_TO="Tło nieaktywnego okna 2"
|
||||||
|
BORDER="Obramowanie (px)"
|
||||||
|
ACTIVE_BORDER="Obramowanie aktywnego okna"
|
||||||
|
INACTIVE_BORDER="Obramowanie nieaktywnego okna"
|
||||||
|
HANDLEWIDTH="Uchwyt - rozmiar"
|
||||||
|
ACTIVEHANDLE="Aktywny Uchwyt"
|
||||||
|
YES="Tak"
|
||||||
|
NO="Nie"
|
||||||
|
GRIPONLY="Tylko chwyt (po bokach)"
|
||||||
|
RESET="Resetuj"
|
||||||
|
RESET_THEME="Resetuj motyw"
|
||||||
|
AREYOUSURE="Czy aby na pewno?"
|
||||||
|
NOT_SUPORTED_OBTHEME="Nie wspierany motyw"
|
||||||
|
SWITCH_TO_MBCOLORS="Przełącz na MBColors"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
OBTHEME_LBL="OpenBox theme"
|
||||||
|
TITLEBAR="Title Bar"
|
||||||
|
ACTIVE_BG="Active Background"
|
||||||
|
INACTIVE_BG="Inactive Background"
|
||||||
|
TITLEBAR_TEXT="Title Bar Text"
|
||||||
|
FONT="Font"
|
||||||
|
TEXTALIGN="Text align"
|
||||||
|
SHADOW="Shadow"
|
||||||
|
NOSHADOW="no shadow"
|
||||||
|
DARK="Dark"
|
||||||
|
LIGHT="Light"
|
||||||
|
TEXT="Text"
|
||||||
|
ACTIVE_FG="in active window"
|
||||||
|
INACTIVE_FG="in inactive window"
|
||||||
|
PADDING="Padding"
|
||||||
|
VERTICAL="Vertical"
|
||||||
|
HORIZONTAL="Horizontal"
|
||||||
|
RAISED_OR_FLAT="Raised or Flat"
|
||||||
|
FLAT="flat"
|
||||||
|
RAISED="raised"
|
||||||
|
BUTTONS="Buttons"
|
||||||
|
GRADIENT_TYPE="Gradient type"
|
||||||
|
SPLITVERTICAL="SplitVertical"
|
||||||
|
MIRRORHORIZONTAL="MirrorHorizontal"
|
||||||
|
DIAGONAL="Diagonal"
|
||||||
|
CROSSDIAGONAL="CrossDiagonal"
|
||||||
|
PYRAMID="Pyramid"
|
||||||
|
SOLID_COLOR="Solid color (no gradient)"
|
||||||
|
VERTICAL=""
|
||||||
|
ACTIVE_BG_TO="Active Background to"
|
||||||
|
INACTIVE_BG_TO="Inactive Background to"
|
||||||
|
BORDER="Border (px)"
|
||||||
|
ACTIVE_BORDER="Active Border"
|
||||||
|
INACTIVE_BORDER="Inactiva Border"
|
||||||
|
HANDLEWIDTH="Handle Width"
|
||||||
|
ACTIVEHANDLE="Active Handle"
|
||||||
|
YES="Yes"
|
||||||
|
NO="No"
|
||||||
|
GRIPONLY="Grip only"
|
||||||
|
RESET="Reset"
|
||||||
|
RESET_THEME="Reset theme to default"
|
||||||
|
AREYOUSURE="Are you sure?"
|
||||||
|
NOT_SUPORTED_OBTHEME="OpenBox theme not supported"
|
||||||
|
SWITCH_TO_MBCOLORS="Switch to MBColors"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if [ -f "$THEMERC" ]; then
|
if [ -f "$THEMERC" ]; then
|
||||||
if [ ! -f "${THEMERC}.bak" ]; then
|
if [ ! -f "${THEMERC}.bak" ]; then
|
||||||
cp ${THEMERC} ${THEMERC}.bak
|
cp ${THEMERC} ${THEMERC}.bak
|
||||||
|
@ -66,30 +163,34 @@ getvalues () {
|
||||||
}
|
}
|
||||||
getvalues
|
getvalues
|
||||||
|
|
||||||
out+=("^sep(Openbox theme: <i>$OBTHEME</i>)")
|
out+=("^sep($OBTHEME_LBL: <i>$OBTHEME</i>)")
|
||||||
out+=("^sep(TITLEBAR)")
|
out+=("^sep($TITLEBAR)")
|
||||||
out+=("<tt><span bgcolor='$ABG'> </span></tt> ACTIVE_BG,^pipe(mbclr '$ABG' obtctl clractivebg ACTIVE_BG '$me')")
|
out+=("<tt><span bgcolor='$ABG'> </span></tt> $ACTIVE_BG,^pipe(mbclr '$ABG' obtctl clractivebg '${ACTIVE_BG}' '$me')")
|
||||||
out+=("<tt><span bgcolor='$NBG'> </span></tt> INACTIVE_BG,^pipe(mbclr '$NBG' obtctl clrnormalbg INACTIVE_BG '$me')")
|
out+=("<tt><span bgcolor='$NBG'> </span></tt> $INACTIVE_BG,^pipe(mbclr '$NBG' obtctl clrnormalbg '${INACTIVE_BG}' '$me')")
|
||||||
out+=("<tt><span bgcolor='$ABG' fgcolor='$AFG'> <b>AbCd</b> </span></tt> TITLEBAR TEXT,^checkout(titletext)")
|
out+=("<tt><span bgcolor='$ABG' fgcolor='$AFG'> <b>AbCd</b> </span></tt> $TITLEBAR_TEXT,^checkout(titletext)")
|
||||||
|
|
||||||
out+=("PADDING [ <b>$PHEIGHT $PWIDTH</b> ],^checkout(padding)")
|
out+=("$PADDING [ <b>$PHEIGHT $PWIDTH</b> ],^checkout(padding)")
|
||||||
out+=("Raised or flat? [ <b>$WINRAISED</b> ],^checkout(raised)")
|
out+=("$RAISED_OR_FLAT? [ <b>$WINRAISED</b> ],^checkout(raised)")
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
out+=("Titlebar Buttons,^checkout(tbuttons)")
|
out+=("$BUTTONS,^checkout(tbuttons)")
|
||||||
out+=("^sep(Gradient)")
|
out+=("^sep(Gradient)")
|
||||||
out+=("Gradient type [ <b>${REST##* }</b> ],^checkout(gradient)")
|
out+=("$GRADIENT_TYPE [ <b>${REST##* }</b> ],^checkout(gradient)")
|
||||||
[[ ! -z "$ABGTO" ]] && out+=("<tt><span bgcolor='$ABG'> </span><span bgcolor='$ABGTO'> </span></tt> ACTIVE_BG_TO,^pipe(mbclr '$ABGTO' obtctl clractivebgto ACTIVE_BG_TO '$me')")
|
[[ ! -z "$ABGTO" ]] && out+=("<tt><span bgcolor='$ABG'> </span><span bgcolor='$ABGTO'> </span></tt> $ACTIVE_BG_TO,^pipe(mbclr '$ABGTO' obtctl clractivebgto '${ACTIVE_BG_TO}' '$me')")
|
||||||
[[ ! -z "$ABGTO" ]] && out+=("<tt><span bgcolor='$NBG'> </span><span bgcolor='$NBGTO'> </span></tt> INACTIVE_BG_TO,^pipe(mbclr '$NBGTO' obtctl clrnormalbgto INACTIVE_BG_TO '$me')")
|
[[ ! -z "$ABGTO" ]] && out+=("<tt><span bgcolor='$NBG'> </span><span bgcolor='$NBGTO'> </span></tt> $INACTIVE_BG_TO,^pipe(mbclr '$NBGTO' obtctl clrnormalbgto '${INACTIVE_BG_TO}' '$me')")
|
||||||
out+=("^sep(BORDER)")
|
out+=("^sep($BORDER)")
|
||||||
out+=("<tt><span bgcolor='$ALINE'> </span></tt> ACTIVE_BORDER,^pipe(mbclr '$ALINE' obtctl activeborderColor ACTIVE_BORDER_COLOR '$me')")
|
out+=("<tt><span bgcolor='$ALINE'> </span></tt> $ACTIVE_BORDER,^pipe(mbclr '$ALINE' obtctl activeborderColor '${ACTIVE_BORDER_COLOR}' '$me')")
|
||||||
out+=("<tt><span bgcolor='$NLINE'> </span></tt> INACTIVE_BORDER,^pipe(mbclr '$NLINE' obtctl inactiveborderColor INACTIVE_BORDER_COLOR '$me')")
|
out+=("<tt><span bgcolor='$NLINE'> </span></tt> $INACTIVE_BORDER,^pipe(mbclr '$NLINE' obtctl inactiveborderColor '${INACTIVE_BORDER_COLOR}' '$me')")
|
||||||
out+=("BORDER [ <b>$BORD</b> ],^checkout(border)")
|
out+=("$BORDER [ <b>$BORD</b> ],^checkout(border)")
|
||||||
out+=("HANDLEWIDTH [ <b>$HANDLE</b> ],^checkout(handlewidth)")
|
out+=("$HANDLEWIDTH [ <b>$HANDLE</b> ],^checkout(handlewidth)")
|
||||||
out+=("ACTIVEHANDLE? [ <b>$AHANDLE</b> ],^checkout(handle)")
|
out+=("$ACTIVEHANDLE? [ <b>$AHANDLE</b> ],^checkout(handle)")
|
||||||
|
|
||||||
if [ -f "${THEMERC}.bak" ]; then
|
if [ -f "${THEMERC}.bak" ]; then
|
||||||
out+=("^sep()")
|
|
||||||
out+=("RESET TO DEFAULTS,obtctl reset;$me")
|
out+=("^sep($RESET)")
|
||||||
|
out+=("$RESET_THEME,^checkout(resettheme)")
|
||||||
|
out2+=("^tag(resettheme)")
|
||||||
|
out2+=("^sep($AREYOUSURE)")
|
||||||
|
out2+=("$YES,obctl reset;$me")
|
||||||
fi
|
fi
|
||||||
#out+=("Edit...,xdg-open ${THEMERC}")
|
#out+=("Edit...,xdg-open ${THEMERC}")
|
||||||
|
|
||||||
|
@ -102,35 +203,35 @@ fi
|
||||||
#done
|
#done
|
||||||
#TBUTTONS
|
#TBUTTONS
|
||||||
out2+=("^tag(tbuttons)")
|
out2+=("^tag(tbuttons)")
|
||||||
out2+=("^sep(Titlebar Buttons)")
|
out2+=("^sep($BUTTONS)")
|
||||||
out2+=("Tiny,obtctl buttons tiny;$me")
|
out2+=("Tiny,obtctl buttons tiny;$me")
|
||||||
out2+=("Normal,obtctl buttons normal;$me")
|
out2+=("Normal,obtctl buttons normal;$me")
|
||||||
out2+=("Bold,obtctl buttons bold;$me")
|
out2+=("Bold,obtctl buttons bold;$me")
|
||||||
out2+=("Dots,obtctl buttons dots;$me")
|
out2+=("Dots,obtctl buttons dots;$me")
|
||||||
#TEXT
|
#TEXT
|
||||||
out2+=("^tag(titletext)")
|
out2+=("^tag(titletext)")
|
||||||
out2+=("^sep(TITLE_BAR TEXT)")
|
out2+=("^sep($TITLEBAR_TEXT)")
|
||||||
out2+=("FONT...,mb-setfont obtitle;$me")
|
out2+=("$FONT...,mb-setfont obtitle;$me")
|
||||||
out2+=("TEXTALIGN [ $TXTJUST ],^checkout(talign)")
|
out2+=("$TEXTALIGN [ <b>$TXTJUST</b> ],^checkout(talign)")
|
||||||
out2+=("SHADOW,^checkout(shadow)")
|
out2+=("$SHADOW,^checkout(shadow)")
|
||||||
out2+=("^sep()")
|
out2+=("^sep()")
|
||||||
out2+=("<tt><span bgcolor='$AFG'> </span></tt> ACTIVE_FG,^pipe(mbclr '$AFG' obtctl activetextcolor ACTIVE_COLOR '$me')")
|
out2+=("<tt><span bgcolor='$AFG'> </span></tt> $ACTIVE_FG,^pipe(mbclr '$AFG' obtctl activetextcolor '${TEXT} ${ACTIVE_FG}' '$me')")
|
||||||
out2+=("<tt><span bgcolor='$NFG'> </span></tt> INACTIVE_FG,^pipe(mbclr '$NFG' obtctl inactivetextcolor INACTIVE_COLOR '$me')")
|
out2+=("<tt><span bgcolor='$NFG'> </span></tt> $INACTIVE_FG,^pipe(mbclr '$NFG' obtctl inactivetextcolor '${TEXT} ${INACTIVE_FG}' '$me')")
|
||||||
#TEXTALIGN
|
#TEXTALIGN
|
||||||
out2+=("^tag(talign)")
|
out2+=("^tag(talign)")
|
||||||
out2+=("^sep(TEXTALIGN)")
|
out2+=("^sep($TEXTALIGN)")
|
||||||
out2+=("center,obtctl textjustify center;$me")
|
out2+=("center,obtctl textjustify center;$me")
|
||||||
out2+=("left,obtctl textjustify left;$me")
|
out2+=("left,obtctl textjustify left;$me")
|
||||||
out2+=("right,obtctl textjustify right;$me")
|
out2+=("right,obtctl textjustify right;$me")
|
||||||
out2+=("^tag(shadow)")
|
out2+=("^tag(shadow)")
|
||||||
out2+=("^sep(SHADOW)")
|
out2+=("^sep($SHADOW)")
|
||||||
out2+=("no shadow,obtctl shadow 0;$me")
|
out2+=("$NOSHADOW,obtctl shadow 0;$me")
|
||||||
out2+=("^sep()")
|
out2+=("^sep()")
|
||||||
out2+=("Dark,obtctl shadow 1;$me")
|
out2+=("$DARK,obtctl shadow 1;$me")
|
||||||
out2+=("Light,obtctl shadow 2;$me")
|
out2+=("$LIGHT,obtctl shadow 2;$me")
|
||||||
#PADDING
|
#PADDING
|
||||||
out2+=("^tag(padding)")
|
out2+=("^tag(padding)")
|
||||||
out2+=("^sep(VERTICAL)")
|
out2+=("^sep($VERTICAL)")
|
||||||
out2+=("0,obtctl paddingHeight 0;$me")
|
out2+=("0,obtctl paddingHeight 0;$me")
|
||||||
out2+=("^sep()")
|
out2+=("^sep()")
|
||||||
out2+=("1,obtctl paddingHeight 1;$me")
|
out2+=("1,obtctl paddingHeight 1;$me")
|
||||||
|
@ -142,7 +243,7 @@ out2+=("6,obtctl paddingHeight 6;$me")
|
||||||
out2+=("7,obtctl paddingHeight 7;$me")
|
out2+=("7,obtctl paddingHeight 7;$me")
|
||||||
out2+=("8,obtctl paddingHeight 8;$me")
|
out2+=("8,obtctl paddingHeight 8;$me")
|
||||||
out2+=("10,obtctl paddingHeight 10;$me")
|
out2+=("10,obtctl paddingHeight 10;$me")
|
||||||
out2+=("^sep(HORIZONTAL)")
|
out2+=("^sep($HORIZONTAL)")
|
||||||
out2+=("0,obtctl paddingWidth 0;$me")
|
out2+=("0,obtctl paddingWidth 0;$me")
|
||||||
out2+=("^sep()")
|
out2+=("^sep()")
|
||||||
out2+=("1,obtctl paddingWidth 1;$me")
|
out2+=("1,obtctl paddingWidth 1;$me")
|
||||||
|
@ -152,7 +253,7 @@ out2+=("4,obtctl paddingWidth 4;$me")
|
||||||
out2+=("5,obtctl paddingWidth 5;$me")
|
out2+=("5,obtctl paddingWidth 5;$me")
|
||||||
#BORDER
|
#BORDER
|
||||||
out2+=("^tag(border)")
|
out2+=("^tag(border)")
|
||||||
out2+=("^sep(border)")
|
out2+=("^sep($BORDER)")
|
||||||
out2+=("0,obtctl borderWidth 0;$me")
|
out2+=("0,obtctl borderWidth 0;$me")
|
||||||
out2+=("^sep()")
|
out2+=("^sep()")
|
||||||
out2+=("1,obtctl borderWidth 1;$me")
|
out2+=("1,obtctl borderWidth 1;$me")
|
||||||
|
@ -162,31 +263,31 @@ out2+=("4,obtctl borderWidth 4;$me")
|
||||||
out2+=("5,obtctl borderWidth 5;$me")
|
out2+=("5,obtctl borderWidth 5;$me")
|
||||||
#RAISED
|
#RAISED
|
||||||
out2+=("^tag(raised)")
|
out2+=("^tag(raised)")
|
||||||
out2+=("^sep(Raised or flat?)")
|
out2+=("^sep($RAISED_OR_FLAT?)")
|
||||||
out2+=("0 (flat),obtctl raised 0;$me")
|
out2+=("0 ($FLAT),obtctl raised 0;$me")
|
||||||
out2+=("1 (raised),obtctl raised 1;$me")
|
out2+=("1 ($RAISED),obtctl raised 1;$me")
|
||||||
#GRADIENT
|
#GRADIENT
|
||||||
out2+=("^tag(gradient)")
|
out2+=("^tag(gradient)")
|
||||||
out2+=("^sep(GRADIENT)")
|
out2+=("^sep($GRADIENT_TYPE)")
|
||||||
out2+=("Solid color (no gradient),obtctl gradient solid;$me")
|
out2+=("$SOLID_COLOR,obtctl gradient solid;$me")
|
||||||
out2+=("^sep()")
|
out2+=("^sep()")
|
||||||
out2+=("Vertical,obtctl gradient vertical;$me")
|
out2+=("$VERTICAL,obtctl gradient vertical;$me")
|
||||||
out2+=("Horizontal,obtctl gradient horizontal;$me")
|
out2+=("$HORIZONTAL,obtctl gradient horizontal;$me")
|
||||||
out2+=("MirrorHorizontal,obtctl gradient mirrorhorizontal;$me")
|
out2+=("$MIRRORHORIZONTAL,obtctl gradient mirrorhorizontal;$me")
|
||||||
out2+=("SplitVertical,obtctl gradient splitvertical;$me")
|
out2+=("$SPLITVERTICAL,obtctl gradient splitvertical;$me")
|
||||||
out2+=("Diagonal,obtctl gradient diagonal;$me")
|
out2+=("$DIAGONAL,obtctl gradient diagonal;$me")
|
||||||
out2+=("CrossDiagonal,obtctl gradient crossdiagonal;$me")
|
out2+=("$CROSSDIAGONAL,obtctl gradient crossdiagonal;$me")
|
||||||
out2+=("Pyramid,obtctl gradient pyramid;$me")
|
out2+=("$PYRAMID,obtctl gradient pyramid;$me")
|
||||||
|
|
||||||
#HANDLE
|
#HANDLE
|
||||||
out2+=("^tag(handle)")
|
out2+=("^tag(handle)")
|
||||||
out2+=("^sep(ACTIVEHANDLE)")
|
out2+=("^sep($ACTIVEHANDLE)")
|
||||||
out2+=("NO,obtctl activehandle no;$me")
|
out2+=("$NO,obtctl activehandle no;$me")
|
||||||
out2+=("YES,obtctl activehandle yes;$me")
|
out2+=("$YES,obtctl activehandle yes;$me")
|
||||||
out2+=("GRIPONLY,obtctl activehandle grip;$me")
|
out2+=("$GRIPONLY,obtctl activehandle grip;$me")
|
||||||
#HANDLE
|
#HANDLE
|
||||||
out2+=("^tag(handlewidth)")
|
out2+=("^tag(handlewidth)")
|
||||||
out2+=("^sep(HANDLEWIDTH)")
|
out2+=("^sep($HANDLEWIDTH)")
|
||||||
out2+=("0,obtctl handlewidth 0;$me")
|
out2+=("0,obtctl handlewidth 0;$me")
|
||||||
out2+=("^sep()")
|
out2+=("^sep()")
|
||||||
out2+=("2,obtctl handlewidth 2;$me")
|
out2+=("2,obtctl handlewidth 2;$me")
|
||||||
|
@ -197,8 +298,8 @@ out2+=("8,obtctl handlewidth 8;$me")
|
||||||
out2+=("10,obtctl handlewidth 10;$me")
|
out2+=("10,obtctl handlewidth 10;$me")
|
||||||
|
|
||||||
else
|
else
|
||||||
out+=("^sep(NOT SUPORTED OB theme)")
|
out+=("^sep($NOT_SUPORTED_OBTHEME)")
|
||||||
out+=("Switch to MBcolors,obtctl theme MBcolors;$me")
|
out+=("$SWITCH_TO_MBCOLORS,obtctl theme MBcolors;$me")
|
||||||
#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
|
||||||
#out+=("$i,obtctl theme $i;$me")
|
#out+=("$i,obtctl theme $i;$me")
|
||||||
|
|
76
bin/conkyctl
76
bin/conkyctl
|
@ -169,36 +169,44 @@ setpos () {
|
||||||
title=${name//_/ }
|
title=${name//_/ }
|
||||||
case "$LANG" in
|
case "$LANG" in
|
||||||
pl*)
|
pl*)
|
||||||
SUMM="Mark new position for ${title^} Conky"
|
SUMM="Nowa pozycja dla Conky: ${title^}"
|
||||||
BODY=""
|
BODY="\nNarysuj mały prostokąt na ekranie aby wyznaczyć nową pozycję...\n <i>(ESC lub prawy klik anuluje</i>"
|
||||||
ABORTED_SUMM=""
|
ABORTED_SUMM="Anulowano!"
|
||||||
ABORTED_BODY=""
|
ABORTED_BODY="\n...operacja anulowana"
|
||||||
THNX_SUMM=""
|
|
||||||
THNX_BODY=""
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
SUMM="Mark new position for ${title^} Conky"
|
SUMM="Mark new position for ${title^} Conky"
|
||||||
BODY=""
|
BODY="\nDraw small rectangle to mark new position...\n <i>(ESC or right click to abort)</i>"
|
||||||
ABORTED_SUMM=""
|
ABORTED_SUMM="Aborted!"
|
||||||
ABORTED_BODY=""
|
ABORTED_BODY="\n... operation aborted!"
|
||||||
THNX_SUMM=""
|
;;
|
||||||
THNX_BODY=""
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
wmctrl -k on
|
wmctrl -k on
|
||||||
notify-send.sh -i mbcc --replace-file=/tmp/conkyctlfile "${SUMM}" "\nDraw small rectangle to mark new position...\n <i>(ESC or right click to abort)</i>"
|
notify-send.sh -i mbcc --replace-file=/tmp/conkyctlfile "${SUMM}" "${BODY}"
|
||||||
read -r X Y < <(slop -t 0 -l -b 3 --color=0.3,0.4,0.6,0.4 -f "%x %y")
|
read -r X Y < <(slop -t 0 -l -b 3 --color=0.3,0.4,0.6,0.4 -f "%x %y")
|
||||||
if [ -z "$X" ]
|
if [ -z "$X" ]
|
||||||
then
|
then
|
||||||
notify-send.sh -i mbcc --replace-file=/tmp/conkyctlfile "Mark new position for ${title^} Conky" "\n....anulowano"
|
notify-send.sh -i mbcc --replace-file=/tmp/conkyctlfile "${ABORTED_SUMM}" "${ABORTED_BODY}"
|
||||||
else
|
else
|
||||||
pos top_left ${1}
|
pos top_left ${1}
|
||||||
|
# improve gap_calculation here
|
||||||
((X=X+16))
|
((X=X+16))
|
||||||
((Y=Y+16))
|
((Y=Y+16))
|
||||||
gap_x ${X} ${1}
|
gap_x ${X} ${1}
|
||||||
gap_y ${Y} ${1}
|
gap_y ${Y} ${1}
|
||||||
notify-send.sh -i mbcc --replace-file=/tmp/conkyctlfile "Dziękuję!" "Zmieniono pozycję ${title^} \nX: $X\nY: $Y"
|
case "$LANG" in
|
||||||
|
pl*)
|
||||||
|
THNX_SUMM="Dziękuję!"
|
||||||
|
THNX_BODY="Zapisano nową pozycję ${title^} \n\tX: <b>$X</b>\n\tY: <b>$Y</b>"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
THNX_SUMM="Thank you!"
|
||||||
|
THNX_BODY="New position of ${title^} saved! \n\tX: <b>$X</b>\n\tY: <b>$Y</b>"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
notify-send.sh -i mbcc --replace-file=/tmp/conkyctlfile "${THNX_SUMM}" "${THNX_BODY}"
|
||||||
#wmctrl -k off
|
#wmctrl -k off
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -231,8 +239,10 @@ single () {
|
||||||
HORIZONTAL_GAP="Odstęp poziomy"
|
HORIZONTAL_GAP="Odstęp poziomy"
|
||||||
VERTICAL_GAP="Odstęp pionowy"
|
VERTICAL_GAP="Odstęp pionowy"
|
||||||
COLORS="Kolory"
|
COLORS="Kolory"
|
||||||
DEFCOLOR="Domyślny kolor"
|
DEFCOLOR="Domyślny kolor <small>(tekst i ramka)</small>"
|
||||||
COLOR="Kolor"
|
COLOR_0="Kolor 0 <small>(tekst2)</small>"
|
||||||
|
COLOR_1="Kolor 1 <small>(większy tekst)</small>"
|
||||||
|
COLOR_2="Kolor 2 <small>(pasek/graf)</small>"
|
||||||
BACKGROUND="Kolor tła"
|
BACKGROUND="Kolor tła"
|
||||||
TRANSPARENT="Przezroczyste?"
|
TRANSPARENT="Przezroczyste?"
|
||||||
YES="Tak"
|
YES="Tak"
|
||||||
|
@ -251,6 +261,8 @@ single () {
|
||||||
SMALL="Małe"
|
SMALL="Małe"
|
||||||
NORMAL="Normalne"
|
NORMAL="Normalne"
|
||||||
BIG="Duże"
|
BIG="Duże"
|
||||||
|
STIPPLED_BORDERS="Nakrapiane"
|
||||||
|
SOLID_LINE="linia ciągła"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
POSITION="Position"
|
POSITION="Position"
|
||||||
|
@ -259,8 +271,10 @@ single () {
|
||||||
HORIZONTAL_GAP="Horizontal Gap"
|
HORIZONTAL_GAP="Horizontal Gap"
|
||||||
VERTICAL_GAP="Vertical Gap"
|
VERTICAL_GAP="Vertical Gap"
|
||||||
COLORS="Colors"
|
COLORS="Colors"
|
||||||
DEFCOLOR="Default color"
|
DEFCOLOR="Default color <small>(text and border)</small>"
|
||||||
COLOR="Color"
|
COLOR_0="Color 0 <small>(text2)</small>"
|
||||||
|
COLOR_1="Color 1 <small>(bigger text)</small>"
|
||||||
|
COLOR_2="Color 2 <small>(bars/graphs)</small>"
|
||||||
BACKGROUND="Background color"
|
BACKGROUND="Background color"
|
||||||
TRANSPARENT="Transparent?"
|
TRANSPARENT="Transparent?"
|
||||||
YES="Yes"
|
YES="Yes"
|
||||||
|
@ -271,7 +285,7 @@ single () {
|
||||||
DECREASE="Decrease"
|
DECREASE="Decrease"
|
||||||
OLINE="Outline"
|
OLINE="Outline"
|
||||||
SHADOW="Shadow"
|
SHADOW="Shadow"
|
||||||
DRAW="DRAW"
|
DRAW="Deaw"
|
||||||
BORDERS="Borders"
|
BORDERS="Borders"
|
||||||
EDIT="Edit file"
|
EDIT="Edit file"
|
||||||
KILL="Kill"
|
KILL="Kill"
|
||||||
|
@ -279,6 +293,8 @@ single () {
|
||||||
SMALL="Small"
|
SMALL="Small"
|
||||||
NORMAL="Normal"
|
NORMAL="Normal"
|
||||||
BIG="Big"
|
BIG="Big"
|
||||||
|
STIPPLED_BORDERS="Stippled borders"
|
||||||
|
SOLID_LINE="solid line"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
filename=${1##*/}
|
filename=${1##*/}
|
||||||
|
@ -316,6 +332,7 @@ single () {
|
||||||
|
|
||||||
[[ "$WINTRANS" == false ]] && BG="bgcolor='$WINCLR'" || BG=""
|
[[ "$WINTRANS" == false ]] && BG="bgcolor='$WINCLR'" || BG=""
|
||||||
|
|
||||||
|
out+=("^sep(Conky: [ ${title^} ])")
|
||||||
out+=("^sep($POSITION)")
|
out+=("^sep($POSITION)")
|
||||||
out+=("$MARKNEWPOS,conkyctl setpos ${1};$me")
|
out+=("$MARKNEWPOS,conkyctl setpos ${1};$me")
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
|
@ -357,10 +374,10 @@ single () {
|
||||||
|
|
||||||
out+=("^sep($COLORS)")
|
out+=("^sep($COLORS)")
|
||||||
if [[ "$1" != *"logo_mbcolor"* ]]; then
|
if [[ "$1" != *"logo_mbcolor"* ]]; then
|
||||||
[[ "$CLR" != "#" ]] && out+=("<small><span bgcolor='$CLR'> </span><span ${BG} fgcolor='$CLR'> AbCd </span></small> $DEFCOLOR,^pipe(mbclr '$CLR' conkyctl default_color DEFAULT_COLOR '$me' ${1})")
|
[[ "$CLR" != "#" ]] && out+=("<small><span bgcolor='$CLR'> </span><span ${BG} fgcolor='$CLR'> AbCd </span></small> $DEFCOLOR,^pipe(mbclr '$CLR' conkyctl default_color '${DEFCOLOR}' '$me' ${1})")
|
||||||
[[ "$CLR0" != "#" ]] && out+=("<small><span bgcolor='$CLR0'> </span><span ${BG} fgcolor='$CLR0'> AbCd </span></small> $COLOR 0,^pipe(mbclr '$CLR0' conkyctl color0 COLOR_0 '$me' ${1})")
|
[[ "$CLR0" != "#" ]] && out+=("<small><span bgcolor='$CLR0'> </span><span ${BG} fgcolor='$CLR0'> AbCd </span></small> $COLOR_0,^pipe(mbclr '$CLR0' conkyctl color0 '$COLOR_0' '$me' ${1})")
|
||||||
[[ "$CLR1" != "#" ]] && out+=("<small><span bgcolor='$CLR1'> </span><span ${BG} fgcolor='$CLR1'> AbCd </span></small> $COLOR 1,^pipe(mbclr '$CLR1' conkyctl color1 COLOR_1 '$me' ${1})")
|
[[ "$CLR1" != "#" ]] && out+=("<small><span bgcolor='$CLR1'> </span><span ${BG} fgcolor='$CLR1'> AbCd </span></small> $COLOR_1,^pipe(mbclr '$CLR1' conkyctl color1 '$COLOR_1' '$me' ${1})")
|
||||||
[[ "$CLR2" != "#" ]] && out+=("<small><span bgcolor='$CLR2'> </span><span ${BG} fgcolor='$CLR2'> AbCd </span></small> $COLOR 2,^pipe(mbclr '$CLR2' conkyctl color2 COLOR_2 '$me' ${1})")
|
[[ "$CLR2" != "#" ]] && out+=("<small><span bgcolor='$CLR2'> </span><span ${BG} fgcolor='$CLR2'> AbCd </span></small> $COLOR_2,^pipe(mbclr '$CLR2' conkyctl color2 '$COLOR_2' '$me' ${1})")
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
fi
|
fi
|
||||||
if [ "$WINTRANS" == false ];then
|
if [ "$WINTRANS" == false ];then
|
||||||
|
@ -374,7 +391,7 @@ single () {
|
||||||
out2+=("$YES,conkyctl transparent true ${1};$me")
|
out2+=("$YES,conkyctl transparent true ${1};$me")
|
||||||
out2+=("$NO,conkyctl transparent false ${1};$me")
|
out2+=("$NO,conkyctl transparent false ${1};$me")
|
||||||
out2+=("^sep()")
|
out2+=("^sep()")
|
||||||
out2+=("<small><span bgcolor='$WINCLR'> </span></small> $BACKGROUND,^pipe(mbclr '$WINCLR' conkyctl win_bgcolor WIN_BGCOLOR '$me' ${1})")
|
out2+=("<small><span bgcolor='$WINCLR'> </span></small> $BACKGROUND,^pipe(mbclr '$WINCLR' conkyctl win_bgcolor '${BACKGROUND}' '$me' ${1})")
|
||||||
|
|
||||||
if [[ "$1" != *"logo_mbcolor"* ]]; then
|
if [[ "$1" != *"logo_mbcolor"* ]]; then
|
||||||
if [[ "$1" != *"quoter_mbcolor"* ]]; then
|
if [[ "$1" != *"quoter_mbcolor"* ]]; then
|
||||||
|
@ -401,17 +418,18 @@ single () {
|
||||||
out2+=("^sep($DRAW $BORDERS?)")
|
out2+=("^sep($DRAW $BORDERS?)")
|
||||||
out2+=("$YES,conkyctl draw_borders true ${1};$me")
|
out2+=("$YES,conkyctl draw_borders true ${1};$me")
|
||||||
out2+=("$NO,conkyctl draw_borders false ${1};$me")
|
out2+=("$NO,conkyctl draw_borders false ${1};$me")
|
||||||
out2+=("^sep(STIPPLED BORDERS?)")
|
out2+=("^sep($STIPPLED_BORDERS ?)")
|
||||||
out2+=("0,conkyctl stippled_borders 0 ${1};$me")
|
out2+=("0 ($SOLID_LINE),conkyctl stippled_borders 0 ${1};$me")
|
||||||
|
out2+=("^sep()")
|
||||||
out2+=("1,conkyctl stippled_borders 1 ${1};$me")
|
out2+=("1,conkyctl stippled_borders 1 ${1};$me")
|
||||||
out2+=("2,conkyctl stippled_borders 2 ${1};$me")
|
out2+=("2,conkyctl stippled_borders 2 ${1};$me")
|
||||||
out2+=("3,conkyctl stippled_borders 3 ${1};$me")
|
out2+=("3,conkyctl stippled_borders 3 ${1};$me")
|
||||||
out2+=("4,conkyctl stippled_borders 4 ${1};$me")
|
out2+=("4,conkyctl stippled_borders 4 ${1};$me")
|
||||||
|
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
out+=(" $EDIT ${title^},xdg-open ${1}")
|
out+=(" $EDIT ${title^},xdg-open ${1}")
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
out+=(" $KILL ${title^},conkyctl kill ${1##*/};${me}")
|
out+=(" $KILL ${title^},conkyctl kill ${1##*/};${me}")
|
||||||
|
|
||||||
printf '%s\n' "${out[@]}"
|
printf '%s\n' "${out[@]}"
|
||||||
printf '%s\n' "${out2[@]}"
|
printf '%s\n' "${out2[@]}"
|
||||||
|
|
12
bin/mbclr
12
bin/mbclr
|
@ -74,7 +74,7 @@ THEMERC="$HOME/.config/mabox/jgobthemes/${jgmenu_theme}.colorrc";;
|
||||||
esac
|
esac
|
||||||
read COLOR OP<<< $(grep "${3}" ${THEMERC} | cut -d'=' -f2)
|
read COLOR OP<<< $(grep "${3}" ${THEMERC} | cut -d'=' -f2)
|
||||||
out+=("^sep($OPACITY)")
|
out+=("^sep($OPACITY)")
|
||||||
out+=("$OPACITY <small>[ $OP ]</small>,^checkout(opacity)")
|
out+=("$OPACITY <small>[ <b>$OP</b> ]</small>,^checkout(opacity)")
|
||||||
out2+=("^tag(opacity)")
|
out2+=("^tag(opacity)")
|
||||||
out2+=("^sep($OPACITY <small>[ $OP ]</small>")
|
out2+=("^sep($OPACITY <small>[ $OP ]</small>")
|
||||||
out2+=("<tt><small>100</small> <span bgcolor='$1' bgalpha='100%'> </span><span bgcolor='$1'> </span></tt>,jgctl $3 100;${5}")
|
out2+=("<tt><small>100</small> <span bgcolor='$1' bgalpha='100%'> </span><span bgcolor='$1'> </span></tt>,jgctl $3 100;${5}")
|
||||||
|
@ -96,10 +96,10 @@ fi
|
||||||
|
|
||||||
#Current
|
#Current
|
||||||
out+=("^sep($SELECT_COLOR)")
|
out+=("^sep($SELECT_COLOR)")
|
||||||
out+=(" $PICK_FROM_SCREEN,mbclr pixelcolor $2 $3 ${5} ${6}")
|
out+=(" $PICK_FROM_SCREEN,mbclr pixelcolor $2 $3 ${5} ${6}")
|
||||||
out+=(" $SELECT_OR_PICK,mbclr pick $2 $3 ${5} ${6}")
|
out+=(" $SELECT_OR_PICK,mbclr pick $2 $3 ${5} ${6}")
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
out+=("<tt><span bgcolor='$1'> </span></tt> $SHADES_OF_CURRENT (<small>$1</small>),^checkout(curshades)")
|
out+=("<tt><span bgcolor='$1'> </span></tt> $SHADES_OF_CURRENT (<small>$1</small>),^checkout(curshades)")
|
||||||
|
|
||||||
out+=("^sep($WALLPAPER_COLORS)")
|
out+=("^sep($WALLPAPER_COLORS)")
|
||||||
for i in "${wallcolors[@]}"
|
for i in "${wallcolors[@]}"
|
||||||
|
@ -119,7 +119,7 @@ out2+=("^sep(Plasma)")
|
||||||
for i in ${plasma[@]};do out2+=("<tt><small>$i</small> <span bgcolor='$i'> </span></tt>,$2 $3 '${i}' ${6};${5}");done
|
for i in ${plasma[@]};do out2+=("<tt><small>$i</small> <span bgcolor='$i'> </span></tt>,$2 $3 '${i}' ${6};${5}");done
|
||||||
|
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
out+=("<tt><span bgcolor='#DDDDDD'> </span></tt> $LIGHTCOLORS,^checkout(light)")
|
out+=("<tt><span bgcolor='#DDDDDD'> </span></tt> $LIGHTCOLORS,^checkout(light)")
|
||||||
out2+=("^tag(light)")
|
out2+=("^tag(light)")
|
||||||
out2+=("^sep($LIGHTCOLORS)")
|
out2+=("^sep($LIGHTCOLORS)")
|
||||||
for i in "${light[@]}"
|
for i in "${light[@]}"
|
||||||
|
@ -127,7 +127,7 @@ do
|
||||||
out2+=("<tt><small>$i</small> <span bgcolor='$i'> </span></tt>,$2 $3 '${i}' ${6};${5}")
|
out2+=("<tt><small>$i</small> <span bgcolor='$i'> </span></tt>,$2 $3 '${i}' ${6};${5}")
|
||||||
done
|
done
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
out+=("<tt><span bgcolor='#222222'> </span></tt> $DARKCOLORS,^checkout(dark)")
|
out+=("<tt><span bgcolor='#222222'> </span></tt> $DARKCOLORS,^checkout(dark)")
|
||||||
out2+=("^tag(dark)")
|
out2+=("^tag(dark)")
|
||||||
out2+=("^sep($DARKCOLORS)")
|
out2+=("^sep($DARKCOLORS)")
|
||||||
for i in "${dark[@]}"
|
for i in "${dark[@]}"
|
||||||
|
|
|
@ -42,6 +42,7 @@ div.fixeddown {
|
||||||
<div class="w3-container">
|
<div class="w3-container">
|
||||||
<img src="/usr/share/mabox-colorizer/img/colorizer.png" class="w3-margin"/>
|
<img src="/usr/share/mabox-colorizer/img/colorizer.png" class="w3-margin"/>
|
||||||
<h2>Mabox Colorizer <span class="w3-tiny">beta</span></h2>
|
<h2>Mabox Colorizer <span class="w3-tiny">beta</span></h2>
|
||||||
|
<em>(Colorizer is in rapid development ... this help may be incomplete prior to 1.0 release)</em>
|
||||||
<p>a set of tools to easily customize your Mabox Linux Desktop</p>
|
<p>a set of tools to easily customize your Mabox Linux Desktop</p>
|
||||||
<p>Easily change look and feel of:
|
<p>Easily change look and feel of:
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -228,6 +229,14 @@ You can change all of them to you liking afterwards.
|
||||||
<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">Launch Wallpaper Menu</a></div>
|
||||||
<h2>Wallpapers</h2>
|
<h2>Wallpapers</h2>
|
||||||
<p>Colorizer automatically generates a color palette from the currently set wallpaper.</p>
|
<p>Colorizer automatically generates a color palette from the currently set wallpaper.</p>
|
||||||
|
<h3>Automatic themes generation</h3>
|
||||||
|
<p>Colorizar will automatically generate themes after wallpaper change (if configured, see:<br /> <b>Colorizer</b> -> <b>Settings</b> -> <b>Autogenerate themes</b></p>
|
||||||
|
<p>For fast preview do not use Nitrogen GUI, better use:</p>
|
||||||
|
<ul>
|
||||||
|
<li>Random wallpaper option from Colorizer (sysytem or users wallpapers)</li>
|
||||||
|
<li>any option from Wallpaper menu should work (also slideshow)</li>
|
||||||
|
<li>you can also set wallpaper from file manager image context menu</li>
|
||||||
|
</ul>
|
||||||
<p></p>
|
<p></p>
|
||||||
</section>
|
</section>
|
||||||
<section id="Save" class="w3-container tab" style="display:none;min-height:100vh;">
|
<section id="Save" class="w3-container tab" style="display:none;min-height:100vh;">
|
||||||
|
|
Loading…
Reference in New Issue