jgespanso-pipe update
parent
5636964b0e
commit
dacd4082ba
|
@ -41,14 +41,13 @@ else
|
|||
echo "@search,,10,5,292,20,4,left,top,auto,#262626,\"\"\"<big></big> <i>$TYPE_TO_SEARCH</i>\"\"\"" >/tmp/espanso_list.csv
|
||||
echo "^sep(Espanso - text expander)" >>/tmp/espanso_list.csv
|
||||
echo "^sep($CONFIGURE)" >>/tmp/espanso_list.csv
|
||||
echo "$EDITCONF, xdg-open ~/.config/espanso/default.yml" >>/tmp/espanso_list.csv
|
||||
echo "$OPENCONFDIR,pcmanfm ~/.config/espanso/user/" >>/tmp/espanso_list.csv
|
||||
echo "$OPENCONFDIR,pcmanfm ~/.config/espanso/" >>/tmp/espanso_list.csv
|
||||
echo "$DOCU,exo-open --launch WebBrowser https://espanso.org/docs/" >>/tmp/espanso_list.csv
|
||||
echo "^sep($LIST)" >>/tmp/espanso_list.csv
|
||||
while read -r line ; do
|
||||
|
||||
IFS='-' read -r id string <<< "$line"
|
||||
printf "\"\"\"<b><tt>%-12s</tt></b> <i>%s</i>\"\"\",espanso match exec %s\n" $id "${string//</<}" $id >> $MENU_ITEMS
|
||||
printf "\"\"\"<b><tt>%-12s</tt></b> <i>%s</i>\"\"\",xdotool type %s\n" $id "${string//</<}" $id >> $MENU_ITEMS
|
||||
done < <(espanso match list)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue