notes/espanso/compilation_instructions.txt
2025-11-30 17:31:07 -08:00

37 lines
1,019 B
Text

Install espanso (compiled due to annoying notifications and no systemd):
cd $CLONE_DIR
git clone https://github.com/espanso/espanso
Install wxwidgets
If on Arch/Artix:
doas pacman -S wxwidgets
If on Gentoo:
https://wiki.wxwidgets.org/Installing_and_configuring_under_Gentoo
https://packages.gentoo.org/packages/x11-libs/wxGTK
cd espanso
To turn off notifications, simply cp from this directory the notifications.rs file to the ~/$CLONE_DIR/espanso/espanso/src/cli/worker/ui/ directory before compiling.
cp notification.rs ~/$CLONE_DIR/espanso/espanso/src/cli/worker/ui/notification.rs
# Deprecated:
# cargo install --force cargo-make --version 0.34.0
# cargo make --profile release build-binary
cargo build -p espanso --release --no-default-features --features vendored-tls,modulo
doas mv target/release/espanso /usr/bin/espanso
Copy xinitrc.txt which calls espanso at beginning
cp ../xinitrc.txt ~/.xinitrc
Copy your base.yml to your espanso/match config directory
cp base.yml ~/.config/espanso/match/