diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-04-05 14:28:49 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-04-05 14:28:49 +0200 |
commit | a86e7cfce4bc2167383a071856f5deba77f30a5b (patch) | |
tree | 5d4b3ef41ce3d3080799f675980ca5cd31bacb13 /stowcmds.sh | |
parent | 1dd5fe554f9fc337e29018ecd2ba0d820be66b71 (diff) |
made laptop equal to desktop
Diffstat (limited to 'stowcmds.sh')
-rwxr-xr-x | stowcmds.sh | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/stowcmds.sh b/stowcmds.sh index 05d163c..974e84f 100755 --- a/stowcmds.sh +++ b/stowcmds.sh @@ -1,7 +1,5 @@ #!/bin/sh - - trap "echo -ne '\nbye'; exit 1" EXIT if ! stow --version > /dev/null 2>&1 @@ -21,11 +19,11 @@ else fi case "$MACH" in - "desktop" | "d") + "desktop" | "d" | "laptop" | "l") mkdir -p "$HOME/bin" stow -d bin/ -t "$HOME/bin" -R common guiscripts extra mkdir -p "$HOME/.config" - stow -d config/ -t "$HOME/.config" -R essentials common extra X theme xdg + stow -d config/ -t "$HOME/.config" -R essentials common extra X theme xdg hyprland stow -d config/ -t "$HOME/" -R home ;; "server" | "s") @@ -35,13 +33,6 @@ case "$MACH" in stow -d config/ -t "$HOME/.config" -R essentials common stow -d config/ -t "$HOME/" -R home ;; - "laptop" | "l") - mkdir -p "$HOME/bin" - stow -d bin/ -t "$HOME/bin" -R common guiscripts extra - mkdir -p "$HOME/.config" - stow -d config/ -t "$HOME/.config" -R essentials common extra theme xdg hyprland X - stow -d config/ -t "$HOME/" -R home - ;; *) echo "E: invalid value for 'MACH'" 1>&2 break |