From c9bfe4e31bbb29390b7109f23d62e2f3fb282685 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Thu, 16 Feb 2023 15:42:47 +0100 Subject: stowcmds: added case statement for different machines --- stowcmds.sh | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'stowcmds.sh') 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 -- cgit v1.2.3