From cfca54e503988d4cf390bc9d93c5a477389421ce Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Fri, 28 Apr 2023 09:01:26 +0200 Subject: cleanup. --- stowdots | 6 ++---- 1 file 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 ;; -- cgit v1.2.3