tint2 launchers, keyspipe
parent
09bd9af272
commit
df1ecd0842
|
@ -101,35 +101,36 @@ esac
|
||||||
|
|
||||||
|
|
||||||
out+=("^sep($APPS)")
|
out+=("^sep($APPS)")
|
||||||
out+=("$(printf "<tt>%-10s</tt> %s,%s" "W-f" "$FILEMNGR" "exo-open --launch FileManager")")
|
out+=("$(printf "<b><tt>%10s</tt></b> <i> %s</i>,%s" "W-f" "$FILEMNGR" "exo-open --launch FileManager")")
|
||||||
out+=("$(printf "<tt>%-10s</tt> %s,%s" "W-w" "$BROWSER" "exo-open --launch WebBrowser")")
|
out+=("$(printf "<b><tt>%10s</tt></b> <i> %s</i>,%s" "W-w" "$BROWSER" "exo-open --launch WebBrowser")")
|
||||||
out+=("$(printf "<tt>%-10s</tt> %s,%s" "W-t" "$TERMINAL" "exo-open --launch TerminalEmulator")")
|
out+=("$(printf "<b><tt>%10s</tt></b> <i> %s</i>,%s" "W-t" "$TERMINAL" "exo-open --launch TerminalEmulator")")
|
||||||
out+=("$(printf "<tt>%-10s</tt> %s,%s" "W-e" "$EDITOR" geany)")
|
out+=("$(printf "<b><tt>%10s</tt></b> <i> %s</i>,%s" "W-grave" "Quake-like $TERMINAL" "mabox-terminal")")
|
||||||
out+=("$(printf "<tt>%-10s</tt> %s,%s" "W-g" "Galculator" galculator)")
|
out+=("$(printf "<b><tt>%10s</tt></b> <i> %s</i>,%s" "W-e" "$EDITOR" geany)")
|
||||||
out+=("$(printf "<tt>%-10s</tt> %s,%s" "W-h" "$RESMON" "^term(bpytop)")")
|
out+=("$(printf "<b><tt>%10s</tt></b> <i> %s</i>,%s" "W-g" "Galculator" galculator)")
|
||||||
out+=("$(printf "<tt>%-10s</tt> %s,%s" "W-/" "$FSEARCH" fsearch)")
|
out+=("$(printf "<b><tt>%10s</tt></b> <i> %s</i>,%s" "W-h" "$RESMON" "^term(bpytop)")")
|
||||||
out+=("$(printf "<tt>%-10s</tt> %s,%s" "W-v" "$VOLUME" pavucontrol)")
|
out+=("$(printf "<b><tt>%10s</tt></b> <i> %s</i>,%s" "W-/" "$FSEARCH" fsearch)")
|
||||||
out+=("$(printf "<tt>%-10s</tt> %s,%s" "W-c" "$COMPOSITOR" compton_toggle)")
|
out+=("$(printf "<b><tt>%10s</tt></b> <i> %s</i>,%s" "W-v" "$VOLUME" pavucontrol)")
|
||||||
out+=("$(printf "<tt>%-10s</tt> %s,%s" "W-l" "$LOCK" "betterlockscreen -l")")
|
out+=("$(printf "<b><tt>%10s</tt></b> <i> %s</i>,%s" "W-c" "$COMPOSITOR" compton_toggle)")
|
||||||
out+=("$(printf "<tt>%-10s</tt> %s,%s" "W-x" "$EXIT" "mb-jgtools mblogout")")
|
out+=("$(printf "<b><tt>%10s</tt></b> <i> %s</i>,%s" "W-l" "$LOCK" "betterlockscreen -l")")
|
||||||
|
out+=("$(printf "<b><tt>%10s</tt></b> <i> %s</i>,%s" "W-x" "$EXIT" "mb-jgtools mblogout")")
|
||||||
|
|
||||||
out+=("^sep($PANELS)")
|
out+=("^sep($PANELS)")
|
||||||
|
|
||||||
out+=("$(printf "<tt>%-10s</tt> %s,%s" "W" "$M_MAIN" "mb-jgtools main")")
|
out+=("$(printf "<b><tt>%10s</tt></b> <i> %s</i>,%s" "W" "$M_MAIN" "mb-jgtools main")")
|
||||||
out+=("$(printf "<tt>%-10s</tt> %s,%s" "W-s" "$M_SETTINGS" "mb-jgtools settings")")
|
out+=("$(printf "<b><tt>%10s</tt></b> <i> %s</i>,%s" "W-s" "$M_SETTINGS" "mb-jgtools settings")")
|
||||||
out+=("$(printf "<tt>%-10s</tt> %s,%s" "W-A-k" "$M_HELP" "jgkeys-pipe -s")")
|
out+=("$(printf "<b><tt>%10s</tt></b> <i> %s</i>,%s" "W-A-k" "$M_HELP" "jgkeys-pipe -s")")
|
||||||
out+=("$(printf "<tt>%-10s</tt> %s,%s" "C-tab" "$PLACES" "mb-jgtools places")")
|
out+=("$(printf "<b><tt>%10s</tt></b> <i> %s</i>,%s" "C-tab" "$PLACES" "mb-jgtools places")")
|
||||||
out+=("$(printf "<tt>%-10s</tt> %s,%s" "W-tab" "$RIGHT" "mb-jgtools right")")
|
out+=("$(printf "<b><tt>%10s</tt></b> <i> %s</i>,%s" "W-tab" "$RIGHT" "mb-jgtools right")")
|
||||||
|
|
||||||
out+=("^sep($WINDOWS)")
|
out+=("^sep($WINDOWS)")
|
||||||
out+=("$(printf "<tt>%-10s</tt> %s,%s" "W-d" "$SHOW_DESKTOP" show_desktop)")
|
out+=("$(printf "<b><tt>%10s</tt></b> <i> %s</i>,%s" "W-d" "$SHOW_DESKTOP" show_desktop)")
|
||||||
out+=("$(printf "<tt>%-10s</tt> %s,%s" "W-$ARROWS" "$HALF")")
|
out+=("$(printf "<b><tt>%10s</tt></b> <i> %s</i>,%s" "W-$ARROWS" "$HALF")")
|
||||||
|
|
||||||
out+=("^sep($HELPERS)")
|
out+=("^sep($HELPERS)")
|
||||||
|
|
||||||
out+=("$(printf "<tt>%-10s</tt> %s,%s" "W-A-t" "$JGTILE" "jgtile")")
|
out+=("$(printf "<b><tt>%10s</tt></b> <i> %s</i>,%s" "W-A-t" "$JGTILE" "jgtile")")
|
||||||
out+=("$(printf "<tt>%-10s</tt> %s,%s" "W-A-h" "$HISTORY" "jghistory-pipe -s")")
|
out+=("$(printf "<b><tt>%10s</tt></b> <i> %s</i>,%s" "W-A-h" "$HISTORY" "jghistory-pipe -s")")
|
||||||
out+=("$(printf "<tt>%-10s</tt> %s,%s" "W-A-e" "$ESPANSO" "jgespanso-pipe -s")")
|
out+=("$(printf "<b><tt>%10s</tt></b> <i> %s</i>,%s" "W-A-e" "$ESPANSO" "jgespanso-pipe -s")")
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
out+=("$(printf "%s,%s" "$SHORTCUTS" "mb-kb --gui &>/dev/null")")
|
out+=("$(printf "%s,%s" "$SHORTCUTS" "mb-kb --gui &>/dev/null")")
|
||||||
|
|
||||||
|
@ -158,6 +159,8 @@ exit 0
|
||||||
|
|
||||||
fi
|
fi
|
||||||
printf '%s\n' "${out[@]}"
|
printf '%s\n' "${out[@]}"
|
||||||
|
#printf '%s\n' "${out[@]}" > $HOME/.config/mabox/shortkeys.csv
|
||||||
|
|
||||||
if [ $1 == "-r" ]; then
|
if [ $1 == "-r" ]; then
|
||||||
printf '%s\n' "^sep()"
|
printf '%s\n' "^sep()"
|
||||||
printf '%s\n' "<i>$REMOVE</i>,mb-setvar places_keyspipe=false"
|
printf '%s\n' "<i>$REMOVE</i>,mb-setvar places_keyspipe=false"
|
||||||
|
|
|
@ -7,7 +7,7 @@ case $LANG in
|
||||||
TITLE="Dodaj/usuń programy do panelu Tint2"
|
TITLE="Dodaj/usuń programy do panelu Tint2"
|
||||||
TYPE_TO_SEARCH="Pisz aby Wyszukać"
|
TYPE_TO_SEARCH="Pisz aby Wyszukać"
|
||||||
CURRENT="Wyzwalacze"
|
CURRENT="Wyzwalacze"
|
||||||
OPENDIR="Otwórz w menadżerze plików"
|
OPENDIR="Otwórz"
|
||||||
ADD="dodaj"
|
ADD="dodaj"
|
||||||
DEL="usuń"
|
DEL="usuń"
|
||||||
ALL="wszystkie";;
|
ALL="wszystkie";;
|
||||||
|
@ -15,7 +15,7 @@ case $LANG in
|
||||||
TITLE="Add/Remove Tint2 panel launchers"
|
TITLE="Add/Remove Tint2 panel launchers"
|
||||||
TYPE_TO_SEARCH="Buscar"
|
TYPE_TO_SEARCH="Buscar"
|
||||||
CURRENT="Launchers"
|
CURRENT="Launchers"
|
||||||
OPENDIR="Abrir Gestor de archivos aquí"
|
OPENDIR="Abrir"
|
||||||
ADD="add"
|
ADD="add"
|
||||||
DEL="remove"
|
DEL="remove"
|
||||||
ALL="all";;
|
ALL="all";;
|
||||||
|
@ -23,7 +23,7 @@ case $LANG in
|
||||||
TITLE="Add/Remove Tint2 panel launchers"
|
TITLE="Add/Remove Tint2 panel launchers"
|
||||||
TYPE_TO_SEARCH="Type to Search"
|
TYPE_TO_SEARCH="Type to Search"
|
||||||
CURRENT="Launchers"
|
CURRENT="Launchers"
|
||||||
OPENDIR="Open filemanager here"
|
OPENDIR="Open"
|
||||||
ADD="add"
|
ADD="add"
|
||||||
DEL="remove"
|
DEL="remove"
|
||||||
ALL="all";;
|
ALL="all";;
|
||||||
|
@ -37,7 +37,7 @@ APPSDIR="/usr/share/applications"
|
||||||
out+=("@text,,$(expr $jgtools_padding + 10),$(expr $jgtools_padding + 10),300,20,4,left,top,auto,#111111,<big><b>$TITLE</b></big>")
|
out+=("@text,,$(expr $jgtools_padding + 10),$(expr $jgtools_padding + 10),300,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+=("@search,,34,29,292,20,4,left,top,auto,#262626,\"\"\"<big></big> <i>$TYPE_TO_SEARCH</i>\"\"\"")
|
||||||
out+=("^sep($CURRENT)")
|
out+=("^sep($CURRENT)")
|
||||||
out+=(" $OPENDIR,${JGMENU_RESOURCE_OPENER} $LAUNCHERDIR")
|
out+=(" $OPENDIR <i>(~/.config/tint2/launcherapps)</i>,${JGMENU_RESOURCE_OPENER} $LAUNCHERDIR")
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
a=0
|
a=0
|
||||||
for item in "$LAUNCHERDIR"/*.desktop; do
|
for item in "$LAUNCHERDIR"/*.desktop; do
|
||||||
|
@ -53,7 +53,7 @@ out+=("$DEL $ALL: ($a),rm -f $LAUNCHERDIR/*.desktop;killall -SIGUSR1 tint2;jgtin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
out+=("^sep($ADD...)")
|
out+=("^sep($ADD...)")
|
||||||
out+=(" $OPENDIR,${JGMENU_RESOURCE_OPENER} $APPSDIR")
|
out+=(" $OPENDIR <i>(/usr/share/applications)</i>,${JGMENU_RESOURCE_OPENER} $APPSDIR")
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
for item in "$APPSDIR"/*.desktop; do
|
for item in "$APPSDIR"/*.desktop; do
|
||||||
filename=${item##*/}
|
filename=${item##*/}
|
||||||
|
|
Loading…
Reference in New Issue