WIP: Adds some before/after scripts to runs.

This commit is contained in:
2025-11-10 09:14:55 -05:00
parent e972dd331c
commit 74011a46bc
4 changed files with 49 additions and 1 deletions

15
runs/after/espanso Executable file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -e
set -o nounset
set -o pipefail
install() {
log " Setting up espanso."
sudo setcap "cap_dac_override+p" "$(which espanso)"
espanso service register
espanso service start
}
arg=${1:-""}
[[ $arg == "install" ]] && install && exit 0