From 7047650bb854bf4056f47bf67fa807233fcc7d36 Mon Sep 17 00:00:00 2001 From: gibbyb Date: Tue, 31 Dec 2024 09:14:17 -0600 Subject: [PATCH] Add multiple hyprland configs --- install.sh | 2 +- sources/{env.sh => dotenv.sh} | 0 sources/dotfiles.sh | 15 +++++++++++++-- 3 files changed, 14 insertions(+), 3 deletions(-) rename sources/{env.sh => dotenv.sh} (100%) diff --git a/install.sh b/install.sh index ee9ca2b..fff4c0e 100644 --- a/install.sh +++ b/install.sh @@ -10,7 +10,7 @@ gsettings set org.gnome.desktop.session idle-delay 0 # Needed for all installers sudo dnf update -y -sudo dnf install -y curl git unzip neovim +sudo dnf install -y curl git unzip neovim kitty zoxide # Run Scripts Required for Application Installs for script in ~/.local/share/sunhat/sources/*.sh; do source $script; done diff --git a/sources/env.sh b/sources/dotenv.sh similarity index 100% rename from sources/env.sh rename to sources/dotenv.sh diff --git a/sources/dotfiles.sh b/sources/dotfiles.sh index 8efe09a..0e947d0 100644 --- a/sources/dotfiles.sh +++ b/sources/dotfiles.sh @@ -1,5 +1,3 @@ -# Install Zoxide so it doesnt prompt us to when we source bashrc -sudo dnf install -y zoxide # Make Directory for all Dotfiles so you can sync them with Nextcloud. mkdir ~/Documents/Configs @@ -29,6 +27,19 @@ rm -rf ~/.config/powerline ln -s ~/Documents/Configs/powerline ~/.config/powerline rm -rf ~/.config/ranger ln -s ~/Documents/Configs/ranger ~/.config/ranger +rm -rf ~/.config/hypr +rm -rf ~/.config/waybar + +if [ "$HOST_NAME" = "gulfport-gib" || "$HOST_NAME" = "IT2200936" ]; then + ln -s ~/Documents/Configs/hyprland/gulfport/hypr ~/.config/hypr + ln -s ~/Documents/Configs/hyprland/gulfport/waybar ~/.config/waybar +elif [ "$HOST_NAME" = "desktop-gib" || "$HOST_NAME" = "desktop" ]; then + ln -s ~/Documents/Configs/hyprland/desktop/hypr ~/.config/hypr + ln -s ~/Documents/Configs/hyprland/desktop/waybar ~/.config/waybar +else + ln -s ~/Documents/Configs/hyprland/laptop/hypr ~/.config/hypr + ln -s ~/Documents/Configs/hyprland/laptop/waybar ~/.config/waybar +fi # Copy any additional files such as Wallpapers, # Icons, .desktop files, & Nautilus Extensions