mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 22:22:40 +00:00
WIP: Adds some before/after scripts to runs.
This commit is contained in:
13
runs/before/espanso
Executable file
13
runs/before/espanso
Executable 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
|
||||
Reference in New Issue
Block a user