This commit is contained in:
2026-04-14 14:36:13 +02:00
parent cfe8182671
commit 181f6d19d8
2 changed files with 98 additions and 73 deletions

View File

@@ -1,6 +1,8 @@
#!/bin/bash
# jgtint2launcher - Add/Remove applications to Tint2 panel launcher
#
. /usr/share/mb-jgtools/jgtools.inc
case $LANG in
pl*)
@@ -34,8 +36,8 @@ LAUNCHERDIR="$HOME/.config/tint2/launcherapps"
mkdir -p ${LAUNCHERDIR}
APPSDIR="/usr/share/applications"
out+=("@text,,$(expr $jgtools_padding + 10),$(expr $jgtools_padding + 10),340,20,4,left,top,auto,#111111,<big><b>$TITLE</b></big>")
out+=("@search,,34,29,292,20,4,left,top,auto,#262626,\"\"\"<big></big> <i>$TYPE_TO_SEARCH</i>\"\"\"")
out+=("@text,,$jgtools_padding,$jgtools_padding,340,20,4,left,top,auto,#111111,<big><b>$TITLE</b></big>")
out+=("@search,,34,29,292,20,4,left,top,auto,#262626,\"\"\"<big></big> <i>$TYPE_TO_SEARCH</i>\"\"\"")
out+=("^sep($CURRENT)")
out+=(" $OPENDIR <i>(~/.config/tint2/launcherapps)</i>,${JGMENU_RESOURCE_OPENER} $LAUNCHERDIR")
out+=("^sep()")
@@ -63,8 +65,6 @@ out+=("$ADD <b>${filename%.*}</b>,cp \"$item\" $LAUNCHERDIR;killall -SIGUSR1 tin
done
### RUN
. /usr/share/mb-jgtools/pipemenu-standalone.cfg
. $HOME/.config/mabox/mabox.conf
MENU_PADDING_TOP=48
MENU_HALIGN="center"