about summary refs log tree commit diff
path: root/sx/@install
diff options
context:
space:
mode:
Diffstat (limited to 'sx/@install')
-rwxr-xr-xsx/@install10
1 files changed, 10 insertions, 0 deletions
diff --git a/sx/@install b/sx/@install
new file mode 100755
index 0000000..32da1b7
--- /dev/null
+++ b/sx/@install
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+[ ! -d "${XDG_CONFIG_HOME}/sx" ] && \
+    mkdir -p "${XDG_CONFIG_HOME}/sx"
+
+stow \
+    --target="${HOME}" \
+    --ignore="^@.*" \
+    --verbose \
+    sx

Consider giving Nix/NixOS a try! <3