small fixes

This commit is contained in:
Daniel Napora 2022-12-03 18:44:36 +01:00
parent 76ac2a37aa
commit 9001278bfc
6 changed files with 10 additions and 10 deletions

View File

@ -627,7 +627,7 @@ if [[ "$1" == "-s" ]]; then
eval $(xdotool getdisplaygeometry --shell) eval $(xdotool getdisplaygeometry --shell)
MENU_HEIGHT_MIN="$HEIGHT" MENU_HEIGHT_MIN="$HEIGHT"
MENU_HEIGHT_MAX=$MENU_HEIGHT_MIN MENU_HEIGHT_MAX=$MENU_HEIGHT_MIN
MENU_RADIUS="0" jgtools_radius=0
menu_margin_x="0" menu_margin_x="0"
else else
MENU_VALIGN="center" MENU_VALIGN="center"

View File

@ -283,7 +283,7 @@ if [[ "$1" == "-s" ]]; then
eval $(xdotool getdisplaygeometry --shell) eval $(xdotool getdisplaygeometry --shell)
MENU_HEIGHT_MIN="$HEIGHT" MENU_HEIGHT_MIN="$HEIGHT"
MENU_HEIGHT_MAX=$MENU_HEIGHT_MIN MENU_HEIGHT_MAX=$MENU_HEIGHT_MIN
MENU_RADIUS="0" jgtools_radius=0
menu_margin_x="0" menu_margin_x="0"
else else
MENU_VALIGN="center" MENU_VALIGN="center"

View File

@ -237,7 +237,7 @@ if [[ "$1" == "-s" ]]; then
eval $(xdotool getdisplaygeometry --shell) eval $(xdotool getdisplaygeometry --shell)
MENU_HEIGHT_MIN="$HEIGHT" MENU_HEIGHT_MIN="$HEIGHT"
MENU_HEIGHT_MAX=$MENU_HEIGHT_MIN MENU_HEIGHT_MAX=$MENU_HEIGHT_MIN
MENU_RADIUS="0" jgtools_radius=0
menu_margin_x="0" menu_margin_x="0"
else else
MENU_VALIGN="center" MENU_VALIGN="center"

View File

@ -361,7 +361,7 @@ out+=(" ⮜⮜⮜ Colorizer,colorizer -s")
eval $(xdotool getdisplaygeometry --shell) eval $(xdotool getdisplaygeometry --shell)
MENU_HEIGHT_MIN="$HEIGHT" MENU_HEIGHT_MIN="$HEIGHT"
MENU_HEIGHT_MAX=$MENU_HEIGHT_MIN MENU_HEIGHT_MAX=$MENU_HEIGHT_MIN
MENU_RADIUS="0" jgtools_radius=0
menu_margin_x="0" menu_margin_x="0"
else else
MENU_VALIGN="center" MENU_VALIGN="center"

View File

@ -65,7 +65,7 @@ read MB1 MB2 MBFG<<< "$(grep '^Messages Border ' ${THEMERC})"
getvalues getvalues
out+=("^sep($COLORIZE_PYRADIO)") out+=("^sep($COLORIZE_PYRADIO)")
out+=("$START_PYRADIO,terminator --geometry=420x440-20-20 -e pyradio") #out+=("$START_PYRADIO,terminator --geometry=420x440-20-20 -e pyradio")
out+=("$INFO,notify-send.sh -i music '$INFO_HEAD' '$INFO_TXT' -t 20000") out+=("$INFO,notify-send.sh -i music '$INFO_HEAD' '$INFO_TXT' -t 20000")
out+=("^sep($GENERATEFROMWP)") out+=("^sep($GENERATEFROMWP)")
out+=("$LIGHTBG,w2theme pyradio light;$me") out+=("$LIGHTBG,w2theme pyradio light;$me")
@ -138,7 +138,7 @@ if [[ "$1" == "-s" ]]; then
eval $(xdotool getdisplaygeometry --shell) eval $(xdotool getdisplaygeometry --shell)
MENU_HEIGHT_MIN="$HEIGHT" MENU_HEIGHT_MIN="$HEIGHT"
MENU_HEIGHT_MAX=$MENU_HEIGHT_MIN MENU_HEIGHT_MAX=$MENU_HEIGHT_MIN
MENU_RADIUS="0" jgtools_radius=0
menu_margin_x="0" menu_margin_x="0"
else else
MENU_VALIGN="center" MENU_VALIGN="center"

View File

@ -838,7 +838,7 @@ contextmenu () {
echo "color_norm_fg=${TXTCOLOR_NORM} 100" >> ${CONFIG_FILE} echo "color_norm_fg=${TXTCOLOR_NORM} 100" >> ${CONFIG_FILE}
echo "color_sel_fg=${TXTCOLOR} 100" >> ${CONFIG_FILE} echo "color_sel_fg=${TXTCOLOR} 100" >> ${CONFIG_FILE}
echo "color_title_fg=${TXTCOLOR} 60" >> ${CONFIG_FILE} echo "color_title_fg=${TXTCOLOR} 60" >> ${CONFIG_FILE}
SELBG=$(pastel darken 0.05 ${WINCLR}|pastel format hex) SELBG=$(pastel darken 0.1 ${WINCLR}|pastel format hex)
echo "color_sel_bg=${SELBG} 80" >> ${CONFIG_FILE} echo "color_sel_bg=${SELBG} 80" >> ${CONFIG_FILE}
echo "color_title_bg=${SELBG} 30" >> ${CONFIG_FILE} echo "color_title_bg=${SELBG} 30" >> ${CONFIG_FILE}
echo "color_title_border=${SELBG} 60" >> ${CONFIG_FILE} echo "color_title_border=${SELBG} 60" >> ${CONFIG_FILE}
@ -847,15 +847,15 @@ contextmenu () {
echo "color_norm_fg=${TXTCOLOR_NORM} 100" >> ${CONFIG_FILE} echo "color_norm_fg=${TXTCOLOR_NORM} 100" >> ${CONFIG_FILE}
echo "color_sel_fg=${TXTCOLOR} 100" >> ${CONFIG_FILE} echo "color_sel_fg=${TXTCOLOR} 100" >> ${CONFIG_FILE}
echo "color_title_fg=${TXTCOLOR} 90" >> ${CONFIG_FILE} echo "color_title_fg=${TXTCOLOR} 90" >> ${CONFIG_FILE}
SELBG=$(pastel darken 0.05 ${WINCLR}|pastel format hex) SELBG=$(pastel darken 0.1 ${WINCLR}|pastel format hex)
echo "color_sel_bg=${SELBG} 80" >> ${CONFIG_FILE} echo "color_sel_bg=${SELBG} 80" >> ${CONFIG_FILE}
echo "color_title_bg=${SELBG} 90" >> ${CONFIG_FILE} echo "color_title_bg=${SELBG} 90" >> ${CONFIG_FILE}
echo "color_title_border=${SELBG} 90" >> ${CONFIG_FILE} echo "color_title_border=${SELBG} 90" >> ${CONFIG_FILE}
fi fi
echo "color_menu_bg=${WINCLR} 90" >> ${CONFIG_FILE} echo "color_menu_bg=${WINCLR} 90" >> ${CONFIG_FILE}
echo "color_menu_border=${CLR} 60" >> ${CONFIG_FILE} echo "color_menu_border=${CLR} 60" >> ${CONFIG_FILE}
echo "menu_border=2" >> ${CONFIG_FILE} echo "menu_border=1" >> ${CONFIG_FILE}
echo "menu_radius=4" >> ${CONFIG_FILE} echo "menu_radius=0" >> ${CONFIG_FILE}
echo "color_sep_fg=${CLR} 10" >> ${CONFIG_FILE} echo "color_sep_fg=${CLR} 10" >> ${CONFIG_FILE}
echo "font=${FONT} 10" >> ${CONFIG_FILE} echo "font=${FONT} 10" >> ${CONFIG_FILE}