update
parent
306dfe9edd
commit
becbf0eb57
|
@ -4,7 +4,8 @@
|
||||||
# Copyright (C) 2019-2021 Daniel Napora <napcok@gmail.com>
|
# Copyright (C) 2019-2021 Daniel Napora <napcok@gmail.com>
|
||||||
#mb-setvar jgtools_last="\"$*\""
|
#mb-setvar jgtools_last="\"$*\""
|
||||||
. $HOME/.config/mabox/mabox.conf
|
. $HOME/.config/mabox/mabox.conf
|
||||||
|
unset font
|
||||||
|
unset menu_gradient_pos
|
||||||
jgmenu_theme=${jgmenu_theme:-obtheme}
|
jgmenu_theme=${jgmenu_theme:-obtheme}
|
||||||
|
|
||||||
case $jgmenu_theme in
|
case $jgmenu_theme in
|
||||||
|
@ -123,6 +124,7 @@ color_scroll_ind = ${COLOR_SCROLL_IND:-#504e65 100}
|
||||||
|
|
||||||
|
|
||||||
sep_markup = weight="bold" foreground="${color_title_fg% *}"
|
sep_markup = weight="bold" foreground="${color_title_fg% *}"
|
||||||
|
|
||||||
sep_height = ${sep_height:-5}
|
sep_height = ${sep_height:-5}
|
||||||
font = ${jgmenu_font:-Noto Sans Medium 9}
|
font = ${jgmenu_font:-Noto Sans Medium 9}
|
||||||
icon_size = ${jgmenu_icon_size:-16}
|
icon_size = ${jgmenu_icon_size:-16}
|
||||||
|
@ -130,6 +132,7 @@ icon_theme = ${jgmenu_icon_theme:-Numix-Square}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
unset font
|
unset font
|
||||||
|
unset menu_gradient_pos
|
||||||
}
|
}
|
||||||
|
|
||||||
#MENU GŁÓWNE
|
#MENU GŁÓWNE
|
||||||
|
@ -167,10 +170,10 @@ ITEM_HALIGN="left"
|
||||||
ARROW_STRING=" ⮜ "
|
ARROW_STRING=" ⮜ "
|
||||||
JGWIDTH=40
|
JGWIDTH=40
|
||||||
TABS="100"
|
TABS="100"
|
||||||
#MENU_HEIGHT_MIN=$(xdpyinfo | awk '/^ +dimensions/ {print $2}' | cut -d 'x' -f2)
|
|
||||||
##experyment
|
panels_topmargin=${panels_topmargin:-0}
|
||||||
SCRHEIGHT=$(xdpyinfo | awk '/^ +dimensions/ {print $2}' | cut -d 'x' -f2)
|
eval $(xdotool getdisplaygeometry --shell)
|
||||||
MENU_HEIGHT_MIN=$(expr $SCRHEIGHT - $panels_topmargin - $panels_topmargin)
|
MENU_HEIGHT_MIN=$(expr $HEIGHT - $panels_topmargin - $panels_topmargin)
|
||||||
MENU_HEIGHT_MAX=$MENU_HEIGHT_MIN
|
MENU_HEIGHT_MAX=$MENU_HEIGHT_MIN
|
||||||
|
|
||||||
case $LANG in
|
case $LANG in
|
||||||
|
@ -321,11 +324,11 @@ esac
|
||||||
mkconfigfile
|
mkconfigfile
|
||||||
|
|
||||||
cat <<EOF > ${MENU_ITEMS}
|
cat <<EOF > ${MENU_ITEMS}
|
||||||
@icon,,15,10,48,48,4,left,top,,,/usr/share/icons/hicolor/48x48/apps/distributor-logo-mabox.png
|
@icon,,10,10,48,48,4,left,top,,,/usr/share/icons/hicolor/48x48/apps/distributor-logo-mabox.png
|
||||||
@text,,70,10,200,20,4,left,top,${color_sel_fg% *},#111111,<big>$OSNAME $OSVERSION</big> <sup> <i>$OSCODE</i></sup>
|
@text,,65,10,200,20,4,left,top,${color_sel_fg% *},#111111,<big>$OSNAME $OSVERSION</big> <sup><i>$OSCODE</i></sup>
|
||||||
@text,,70,30,200,20,4,left,top,${color_norm_fg% *},#444444,<small>$USER@$HOSTNAME</small>
|
@text,,65,30,200,20,4,left,top,${color_norm_fg% *},#444444,<small>$USER@$HOSTNAME</small>
|
||||||
@icon,,5,$(expr $MENU_HEIGHT_MIN - 180),240,180,4,center,top,,,$BOTTOM_IMG
|
@icon,,5,$(expr $MENU_HEIGHT_MIN - 180),240,180,4,center,top,,,$BOTTOM_IMG
|
||||||
@search,,100,50,292,20,4,left,top,auto,#262626,"""<big></big> <small><i>$TYPE_TO_SEARCH</i></small>"""
|
@search,,80,50,292,20,4,left,top,auto,#262626,"""<big></big> <small><i>$TYPE_TO_SEARCH</i></small>"""
|
||||||
|
|
||||||
. $HOME/.config/mabox/right-prepend.csv
|
. $HOME/.config/mabox/right-prepend.csv
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue