update
parent
00a5fe6a82
commit
514f635cd4
|
@ -136,11 +136,16 @@ out+=("$(printf "%s,%s" "$SHORTCUTS" "mb-kb --gui &>/dev/null")")
|
|||
### RUN
|
||||
if [ $1 == "-s" ]; then
|
||||
. /usr/bin/pipemenu-standalone.cfg
|
||||
. $HOME/.config/mabox/mabox.conf
|
||||
|
||||
MENU_PADDING_TOP=0
|
||||
MENU_HALIGN="center"
|
||||
MENU_VALIGN="center"
|
||||
jgmenu_icon_size=0
|
||||
|
||||
[ $(pidof picom) ] && MENU_RADIUS=$jgtools_radius
|
||||
[ -z $jgmenu_use_borders ] && menu_border=0
|
||||
|
||||
mkconfigfile
|
||||
|
||||
cat <<EOF > ${MENU_ITEMS}
|
||||
|
|
|
@ -29,21 +29,26 @@ jgmenu_font="${menu_font_family} ${menu_font_size}"
|
|||
mkconfigfile() {
|
||||
cat <<EOF > ${CONFIG_FILE}
|
||||
position_mode = ${POSITION_MODE:-fixed}
|
||||
csv_cmd = lx
|
||||
csv_cmd = apps
|
||||
stay_alive = 0
|
||||
hide_back_items = ${HIDE_BACK_ITEMS:-0}
|
||||
terminal_exec = terminator
|
||||
terminal_args = -e
|
||||
tabs = ${TABS:-220}
|
||||
menu_border = ${menu_border:-0}
|
||||
menu_margin_x = ${MENU_MARGIN_X:-0}
|
||||
menu_margin_y = ${MENU_MARGIN_Y:-0}
|
||||
menu_border = ${jgtools_border:-0}
|
||||
|
||||
# MENU MARGIN
|
||||
menu_margin_x = ${menu_margin_x:-0}
|
||||
menu_margin_y = ${panels_topmargin:-0}
|
||||
sub_spacing = ${submenu_spacing:-0}
|
||||
|
||||
|
||||
menu_width = $JGWIDTH
|
||||
menu_height_min = ${MENU_HEIGHT_MIN:-0}
|
||||
menu_height_max = ${MENU_HEIGHT_MAX:-0}
|
||||
menu_padding_top = ${MENU_PADDING_TOP:-70}
|
||||
menu_padding_right = ${MENU_PADDING_RIGHT:-2}
|
||||
menu_padding_bottom = ${MENU_PADDING_BOTTOM:-10}
|
||||
menu_padding_bottom = ${MENU_PADDING_BOTTOM:-2}
|
||||
menu_padding_left = ${MENU_PADDING_LEFT:-2}
|
||||
menu_radius = ${MENU_RADIUS:-0}
|
||||
menu_valign = ${MENU_VALIGN:-top}
|
||||
|
@ -51,14 +56,17 @@ menu_halign = ${MENU_HALIGN:-left}
|
|||
|
||||
item_height = ${jgmenu_item_height:-20}
|
||||
item_halign = ${ITEM_HALIGN:-left}
|
||||
item_padding = 4
|
||||
item_padding_x = 4
|
||||
|
||||
item_margin_x = ${item_margin_x:-0}
|
||||
item_margin_y = ${item_margin_y:-3}
|
||||
item_radius = ${item_radius:-2}
|
||||
item_border = ${item_border:-0}
|
||||
arrow_string = ${ARROW_STRING:-⮞}
|
||||
|
||||
columns = ${COLUMNS:-1}
|
||||
|
||||
|
||||
columns = ${COLUMNS:-1}
|
||||
menu_gradient_pos = ${menu_gradient_pos:- none}
|
||||
color_menu_bg = ${color_menu_bg:-#222222 80}
|
||||
color_menu_bg_to = ${color_menu_bg_to:- #000000 100}
|
||||
|
|
Loading…
Reference in New Issue