mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-13 22:02:34 +00:00
feat: Adds kanatactl to manage kanata installation, building, systemd service, etc.
This commit is contained in:
10
runs/kanata
10
runs/kanata
@@ -1,13 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
XDG_DATA_HOME=${XDG_DATA_HOME:-"$HOME/.local/share"}
|
||||
kanata_dir="$XDG_DATA_HOME/kanata"
|
||||
|
||||
yay ${1:-"-S --noconfirm"} rustup
|
||||
|
||||
git clone https://github.com/jtroo/kanata.git $kanata_dir
|
||||
pushd $kanata_dir &>/dev/null
|
||||
(
|
||||
cargo install --features cmd --path .
|
||||
)
|
||||
popd &>/dev/null
|
||||
$DEV_ENV/env/.local/scripts/kanatactl bootstrap
|
||||
|
||||
Reference in New Issue
Block a user