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

13
runs/before/espanso Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -e
set -o nounset
set -o pipefail
uninstall() {
log " Tearing down espanso."
espanso service stop
espanso service unregister
}
arg=${1:-""}
[[ $arg == "uninstall" ]] && uninstall && exit 0