diff --git a/config/hypr/hyprland/general.conf b/config/hypr/hyprland/general.conf index 5584f28..f3770e6 100644 --- a/config/hypr/hyprland/general.conf +++ b/config/hypr/hyprland/general.conf @@ -11,7 +11,7 @@ exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CUR exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 # exec-once = waybar -exec-once = /bin/bash -c "ags run ~/projects/active/dotfiles/config/astal --gtk4" +exec-once = sleep 5 && /bin/bash -c "ags run ~/projects/active/dotfiles/config/astal --gtk4" exec-once = hypridle exec-once = nm-applet diff --git a/config/hypr/hyprlock.conf b/config/hypr/hyprlock.conf index 64b5495..e7fadc7 100644 --- a/config/hypr/hyprlock.conf +++ b/config/hypr/hyprlock.conf @@ -18,7 +18,7 @@ general { # └ ┘ background { monitor = - path = /home/janis/NextCloud/Wallpapers/arch-matterhorn.jpg # Or screenshot + path = /home/janis/NextCloud/Wallpapers/arch/arch-simple.jpg # Or screenshot blur_passes = 1 } diff --git a/setup b/setup index 91232dc..a5dd634 100755 --- a/setup +++ b/setup @@ -28,11 +28,12 @@ echo " platform="" if [[ -f ~/.config/platform ]]; then echo "Config type already selected, skipping" + platform=$(cat ~/.config/platform) else read -p "Choose the configs to install, Laptop or Desktop (l/D): " platform echo "$platform" > ~/.config/platform fi -platform=$(echo "$content" | tr '[:upper:]' '[:lower:]') +platform=$(echo "$platform" | tr '[:upper:]' '[:lower:]') # Get user preference for regenerating the styling regen="" @@ -43,9 +44,7 @@ if [ $regen == "y" ]; then cd .. fi -echo " - => Moving configs to correct destinations -" +echo "=> Moving configs to correct destinations" killall swaybg cp -r ./config/fish ~/.config/ cp -r ./config/hypr ~/.config/ @@ -54,6 +53,7 @@ cp -r ./config/hypr ~/.config/ if [[ "$platform" == "d" ]]; then mv ~/.config/hypr/hyprland_desktop.conf ~/.config/hypr/hyprland.conf rm ~/.config/hypr/hyprland_* + echo "Running on desktop" else mv ~/.config/hypr/hyprland_laptop.conf ~/.config/hypr/hyprland.conf rm ~/.config/hypr/hyprland_*