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