summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-28 09:01:26 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-28 09:01:26 +0200
commitcfca54e503988d4cf390bc9d93c5a477389421ce (patch)
treeaec3ec15dcce9374b641f378bf6cfc5f6df70fab
parentae1c6f6ba15e0ccbd9226eadfe98d51a590c3670 (diff)
cleanup.
-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
;;