jgespanso-pipe update

master
Daniel Napora 2024-01-30 20:49:07 +01:00
parent 5636964b0e
commit dacd4082ba
1 changed files with 2 additions and 3 deletions

View File

@ -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//</&lt;}" $id >> $MENU_ITEMS
printf "\"\"\"<b><tt>%-12s</tt></b> <i>%s</i>\"\"\",xdotool type %s\n" $id "${string//</&lt;}" $id >> $MENU_ITEMS
done < <(espanso match list)