summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xstowdots6
1 files changed, 2 insertions, 4 deletions
diff --git a/stowdots b/stowdots
index bd8abaa..b133092 100755
--- a/stowdots
+++ b/stowdots
@@ -18,20 +18,18 @@ else
read MACH
fi
+mkdir -p "$HOME/bin"
+mkdir -p "$HOME/.config"
ln -sf "$(realpath "$0")" $HOME/bin/
cd "$(dirname "$(realpath "$0")")" || exit 1
case "$MACH" in
"desktop" | "d" | "laptop" | "l")
- mkdir -p "$HOME/bin"
stow -d bin/ -t "$HOME/bin" -R common guiscripts menuscripts extra
- mkdir -p "$HOME/.config"
stow -d config/ -t "$HOME/.config" -R essentials common extra X theme xdg hyprland
stow -d config/ -t "$HOME/" -R home
;;
"server" | "s")
- mkdir -p "$HOME/bin"
stow -d bin/ -t "$HOME/bin" -R common serverscripts menuscripts
- mkdir -p "$HOME/.config"
stow -d config/ -t "$HOME/.config" -R essentials common
stow -d config/ -t "$HOME/" -R home
;;