mb-jgtools/bin/jgtile

30 lines
842 B
Plaintext
Raw Normal View History

2020-09-30 22:44:41 +02:00
#!/bin/bash
# jgtile - jgmenu simple gui for winfuncs tile script
. /usr/bin/pipemenu-standalone.cfg
ICONDIR="/usr/share/mb-jgtools/jgtile"
MENU_PADDING_TOP=0
MENU_HALIGN="center"
MENU_VALIGN="center"
#JGWIDTH=175
jgmenu_item_height=30
jgmenu_icon_size=40
mkconfigfile
cat <<EOF > ${MENU_ITEMS}
^sep(Tile helper (W-A-t))
Tile,winfuncs tile,$ICONDIR/tile.png
Tile Two (equal),winfuncs tiletwo,$ICONDIR/tiletwo.png
Tile Two (Left wider),winfuncs tiletwol,$ICONDIR/tiletwol.png
Tile Two (Right wider),winfuncs tiletwor,$ICONDIR/tiletwor.png
Tile Three,winfuncs tilethree,$ICONDIR/tilethree.png
Tile Three vertical,winfuncs tilethreev,$ICONDIR/tilethreev.png
Stack Two, winfuncs stacktwo,$ICONDIR/stacktwo.png
Cascade, winfuncs cascade,$ICONDIR/cascade.png
EOF
jgmenu --config-file=${CONFIG_FILE} --csv-file=${MENU_ITEMS} 2>/dev/null
exit 0