diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-02-16 15:42:47 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-02-16 15:43:57 +0100 |
commit | c9bfe4e31bbb29390b7109f23d62e2f3fb282685 (patch) | |
tree | 63a4f5e0818e07f5ec74c615d1e2cc2871bf9b30 | |
parent | e6e72a6ae9275c33ee09016ad34713ff14a7e221 (diff) |
stowcmds: added case statement for different machines
-rw-r--r-- | stowcmds.sh | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/stowcmds.sh b/stowcmds.sh index 232af0e..dc44290 100644 --- a/stowcmds.sh +++ b/stowcmds.sh @@ -1,7 +1,12 @@ #!/usr/bin/env bash -mkdir "$HOME/bin" -stow -d bin/ -t "$d/bin" common dmscripts extra -mkdir "$HOME/.config" -stow -d config/ -t "$HOME/.config" essentials common extra theme X -stow -d config/ -t "$HOME/" zshrc +case in "${MACH:=desktop}" + 'desktop') + mkdir "$HOME/bin" + stow -d bin/ -t "$d/bin" -R common dmscripts extra + + mkdir "$HOME/.config" + stow -d config/ -t "$HOME/.config" -R essentials common extra theme X + stow -d config/ -t "$HOME/" -R zshrc + ;; +esac |