summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--install.sh3
-rw-r--r--shepherd/shepherd/init.scm14
-rw-r--r--uninstall.sh5
3 files changed, 22 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index 3203ce1..2cd6510 100644
--- a/install.sh
+++ b/install.sh
@@ -20,3 +20,6 @@ stow -Rt "${XDG_CONFIG_HOME:=$HOME/.config}/i3" i3
stow -Rt "${XDG_CONFIG_HOME:=$HOME/.config}/i3status" i3status
# Plasma session environment variables
#stow -Rt "${XDG_CONFIG_HOME:=$HOME/.config}/plasma-workspace/env" plasma-env
+
+# Shepherd user services
+stow -Rt ${XDG_CONFIG_HOME:=$HOME/.config} shepherd
diff --git a/shepherd/shepherd/init.scm b/shepherd/shepherd/init.scm
new file mode 100644
index 0000000..8ef2166
--- /dev/null
+++ b/shepherd/shepherd/init.scm
@@ -0,0 +1,14 @@
+;; init.scm -- default shepherd configuration file.
+
+;; Services known to shepherd:
+;; Add new services (defined using 'make <service>') to shepherd here by
+;; providing them as arguments to 'register-services'.
+(register-services)
+
+;; Send shepherd into the background
+(action 'shepherd 'daemonize)
+
+;; Services to start when shepherd starts:
+;; Add the name of each service that should be started to the list
+;; below passed to 'for-each'.
+(for-each start '())
diff --git a/uninstall.sh b/uninstall.sh
index 173b069..3c1e99b 100644
--- a/uninstall.sh
+++ b/uninstall.sh
@@ -4,8 +4,13 @@
stow -Dt ~ bash tmux git
# Link at XDG_CONFIG_HOME if set, if not to $HOME/.config (they should be the same)
+
+# NeoVim
stow -Dt ${XDG_CONFIG_HOME:=$HOME/.config} -D nvim
+# Shepherd
+stow -Dt ${XDG_CONFIG_HOME:=$HOME/.config} shepherd
+
# konsole colors
# stow -Rt "${XDG_CONFIG_HOME:=$HOME/.config}/konsole" konsole