mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 22:22:40 +00:00
WIP: Converts runs to be text files of packages to install / uninstall, begins before and after scripts to execute during runs.
This commit is contained in:
16
runs/after/clipse
Executable file
16
runs/after/clipse
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
XDG_DATA_HOME=${XDG_DATA_HOME:-$HOME/.local/share}
|
||||
|
||||
install() {
|
||||
mkdir -p "$XDG_DATA_HOME/clipse"
|
||||
setsid uwsm app -- clipse -listen
|
||||
}
|
||||
|
||||
uninstall() {
|
||||
rm -rf "$XDG_DATA_HOME/clipse"
|
||||
}
|
||||
|
||||
arg=${1:-""}
|
||||
[[ $arg == "install" ]] && install && exit $?
|
||||
[[ $arg == "uninstall" ]] && uninstall && exit $?
|
||||
Reference in New Issue
Block a user