[Build] Fix up

This commit is contained in:
Janis Hutz 2025-04-25 16:33:48 +02:00
parent 7f21fb3ee3
commit 9f754b454b
3 changed files with 6 additions and 6 deletions

View File

@ -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 = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
# exec-once = waybar # 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 = hypridle
exec-once = nm-applet exec-once = nm-applet

View File

@ -18,7 +18,7 @@ general {
# └ ┘ # └ ┘
background { background {
monitor = 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 blur_passes = 1
} }

8
setup
View File

@ -28,11 +28,12 @@ echo "
platform="" platform=""
if [[ -f ~/.config/platform ]]; then if [[ -f ~/.config/platform ]]; then
echo "Config type already selected, skipping" echo "Config type already selected, skipping"
platform=$(cat ~/.config/platform)
else else
read -p "Choose the configs to install, Laptop or Desktop (l/D): " platform read -p "Choose the configs to install, Laptop or Desktop (l/D): " platform
echo "$platform" > ~/.config/platform echo "$platform" > ~/.config/platform
fi fi
platform=$(echo "$content" | tr '[:upper:]' '[:lower:]') platform=$(echo "$platform" | tr '[:upper:]' '[:lower:]')
# Get user preference for regenerating the styling # Get user preference for regenerating the styling
regen="" regen=""
@ -43,9 +44,7 @@ if [ $regen == "y" ]; then
cd .. cd ..
fi fi
echo " echo "=> Moving configs to correct destinations"
=> Moving configs to correct destinations
"
killall swaybg killall swaybg
cp -r ./config/fish ~/.config/ cp -r ./config/fish ~/.config/
cp -r ./config/hypr ~/.config/ cp -r ./config/hypr ~/.config/
@ -54,6 +53,7 @@ cp -r ./config/hypr ~/.config/
if [[ "$platform" == "d" ]]; then if [[ "$platform" == "d" ]]; then
mv ~/.config/hypr/hyprland_desktop.conf ~/.config/hypr/hyprland.conf mv ~/.config/hypr/hyprland_desktop.conf ~/.config/hypr/hyprland.conf
rm ~/.config/hypr/hyprland_* rm ~/.config/hypr/hyprland_*
echo "Running on desktop"
else else
mv ~/.config/hypr/hyprland_laptop.conf ~/.config/hypr/hyprland.conf mv ~/.config/hypr/hyprland_laptop.conf ~/.config/hypr/hyprland.conf
rm ~/.config/hypr/hyprland_* rm ~/.config/hypr/hyprland_*