From 2a438d003c1ae96f821eddde4e6b3e71edb1bbdc Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Wed, 21 Sep 2022 13:37:15 +0200 Subject: [PATCH] gradient reverse for menus --- bin/colorizer-menus | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/colorizer-menus b/bin/colorizer-menus index 3192334..19f3c1b 100755 --- a/bin/colorizer-menus +++ b/bin/colorizer-menus @@ -42,6 +42,7 @@ case "$LANG" in BOTTOM_LEFT="z dołu od lewej (bottom_left)" BOTTOM_RIGHT="z dołu od prawej (bottom_right)" PRE_GRADIENTS="Gotowe gradienty" + GRADIENT_REVERSE="Odwróć kolory Gradientu" ITEM="pozycja menu (element)" COLOR_NORM_FG="Kolor tekstu" COLOR_SEL_BG="Tło aktywnej pozycji" @@ -86,6 +87,7 @@ case "$LANG" in BOTTOM_LEFT="bottom_left" BOTTOM_RIGHT="bottom_right" PRE_GRADIENTS="Predefined gradients" + GRADIENT_REVERSE="Reverse Gradient" ITEM="item" COLOR_NORM_FG="Text Color" COLOR_SEL_BG="Selected Item Background" @@ -149,6 +151,7 @@ out+=("$(printf '%3s' "$MBORDERA") $GRADIENT ],^checkout(gradientpos)") out+=("$PRE_GRADIENTS,^pipe(mbgrad menu)") +out+=(" $GRADIENT_REVERSE,jgctl gradient '${MBGT}' '${MBG}';$me") out+=("^sep($ITEM)") out+=("$(printf '%3s' "$NFGA") AbCd $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 ${jgmenu_theme} $TO_DEFAULT,jgctl reset;$me") fi out+=(" $EDIT ${jgmenu_theme} $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 if [[ "$1" == "-s" ]]; then