gradient reverse for menus
This commit is contained in:
parent
0e5a3f9c6b
commit
2a438d003c
@ -42,6 +42,7 @@ case "$LANG" in
|
|||||||
BOTTOM_LEFT="z dołu od lewej (bottom_left)"
|
BOTTOM_LEFT="z dołu od lewej (bottom_left)"
|
||||||
BOTTOM_RIGHT="z dołu od prawej (bottom_right)"
|
BOTTOM_RIGHT="z dołu od prawej (bottom_right)"
|
||||||
PRE_GRADIENTS="Gotowe gradienty"
|
PRE_GRADIENTS="Gotowe gradienty"
|
||||||
|
GRADIENT_REVERSE="Odwróć kolory Gradientu"
|
||||||
ITEM="pozycja menu (element)"
|
ITEM="pozycja menu (element)"
|
||||||
COLOR_NORM_FG="Kolor tekstu"
|
COLOR_NORM_FG="Kolor tekstu"
|
||||||
COLOR_SEL_BG="Tło aktywnej pozycji"
|
COLOR_SEL_BG="Tło aktywnej pozycji"
|
||||||
@ -86,6 +87,7 @@ case "$LANG" in
|
|||||||
BOTTOM_LEFT="bottom_left"
|
BOTTOM_LEFT="bottom_left"
|
||||||
BOTTOM_RIGHT="bottom_right"
|
BOTTOM_RIGHT="bottom_right"
|
||||||
PRE_GRADIENTS="Predefined gradients"
|
PRE_GRADIENTS="Predefined gradients"
|
||||||
|
GRADIENT_REVERSE="Reverse Gradient"
|
||||||
ITEM="item"
|
ITEM="item"
|
||||||
COLOR_NORM_FG="Text Color"
|
COLOR_NORM_FG="Text Color"
|
||||||
COLOR_SEL_BG="Selected Item Background"
|
COLOR_SEL_BG="Selected Item Background"
|
||||||
@ -149,6 +151,7 @@ out+=("<tt><small>$(printf '%3s' "$MBORDERA")</small> <span bgcolor='$MBORDER' b
|
|||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
out+=("$GRADIENT_POS [ <b>$GRADIENT</b> ],^checkout(gradientpos)")
|
out+=("$GRADIENT_POS [ <b>$GRADIENT</b> ],^checkout(gradientpos)")
|
||||||
out+=("$PRE_GRADIENTS,^pipe(mbgrad menu)")
|
out+=("$PRE_GRADIENTS,^pipe(mbgrad menu)")
|
||||||
|
out+=(" $GRADIENT_REVERSE,jgctl gradient '${MBGT}' '${MBG}';$me")
|
||||||
|
|
||||||
out+=("^sep($ITEM)")
|
out+=("^sep($ITEM)")
|
||||||
out+=("<tt><small>$(printf '%3s' "$NFGA")</small> <span weight='bold' fgcolor='$NFG' fgalpha='${NFGA/#[0]/1}%'> AbCd </span></tt> $COLOR_NORM_FG,^pipe(mbclr '$NFG' jgctl color_norm_fg '${COLOR_NORM_FG}' '$me')")
|
out+=("<tt><small>$(printf '%3s' "$NFGA")</small> <span weight='bold' fgcolor='$NFG' fgalpha='${NFGA/#[0]/1}%'> AbCd </span></tt> $COLOR_NORM_FG,^pipe(mbclr '$NFG' jgctl color_norm_fg '${COLOR_NORM_FG}' '$me')")
|
||||||
@ -215,7 +218,8 @@ if [ -f "${THEMERC}.bak" ]; then
|
|||||||
out+=(" $RESET <i>${jgmenu_theme}</i> $TO_DEFAULT,jgctl reset;$me")
|
out+=(" $RESET <i>${jgmenu_theme}</i> $TO_DEFAULT,jgctl reset;$me")
|
||||||
fi
|
fi
|
||||||
out+=(" $EDIT <i>${jgmenu_theme}</i> $FILE,xdg-open $THEMERC")
|
out+=(" $EDIT <i>${jgmenu_theme}</i> $FILE,xdg-open $THEMERC")
|
||||||
out+=(" $SET_RANDOM,mb-setvar jgmenu_theme=$(basename -s .colorrc $(ls ~/.config/mabox/jgobthemes/*.colorrc | shuf -n 1));$me")
|
### We don't need many menu themes anymore
|
||||||
|
#out+=(" $SET_RANDOM,mb-setvar jgmenu_theme=$(basename -s .colorrc $(ls ~/.config/mabox/jgobthemes/*.colorrc | shuf -n 1));$me")
|
||||||
|
|
||||||
### RUN
|
### RUN
|
||||||
if [[ "$1" == "-s" ]]; then
|
if [[ "$1" == "-s" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user