sunhat/install/app_espanso.sh

15 lines
633 B
Bash
Raw Normal View History

2024-06-09 04:16:43 -05:00
sudo dnf install -y @development-tools gcc-c++ wl-clipboard \
libxkbcommon-devel dbus-devel wxGTK-devel.x86_64
2024-06-09 05:05:28 -05:00
git clone https://github.com/federico-terzi/espanso ~/.local/share/sunhat/packages/espanso/
cd ~/.local/share/sunhat/packages/espanso
2024-06-09 04:16:43 -05:00
cargo install --force cargo-make --version 0.34.0
cargo make --profile release --env NO_X11=true build-binary
sudo mv target/release/espanso /usr/local/bin/espanso
sudo setcap "cap_dac_override+p" $(which espanso)
espanso service register
espanso start
espanso install html-utils-package
espanso install markdown-shortcuts
espanso install misspell-en
cd ~/.local/share/sunhat || exit