diff options
-rwxr-xr-x | stowdots | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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 ;; |