less than 1 minute read

…with Espanso text expander in Rust (works in Bash, Firefox,…)

Getting Started

yay -S espanso-bin # install espanso package for archlinux
espanso status     # get espanso service status
espanso start      # start espanso service / create ~/.config/systemd/user/espanso.service if does not exist
espanso path       # list espanso config files
:date              # get current date from trigger :date config files

Support

  • fix X11 display context error with starting Espanso service
[[ -z $(grep DISPLAY $HOME/.config/systemd/user/espanso.service) ]] && \
  sed -i '/\[Service\]/aEnvironment="DISPLAY=:0"' $HOME/.config/systemd/user/espanso.service && \
  /usr/bin/systemctl --user daemon-reload  && \
  espanso start  # fix x11 display context error

Sources

Updated: