diff --git a/home/.config/hypr/hyprland.conf b/home/.config/hypr/hyprland.conf index 0188a3c..205c253 100644 --- a/home/.config/hypr/hyprland.conf +++ b/home/.config/hypr/hyprland.conf @@ -12,7 +12,7 @@ ################# exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP -exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP +exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_TYPE exec-once = systemctl --user start wm-ready.target exec-once = sleep 2 && eww open bar0 diff --git a/home/.config/systemd/user/wallpaper.service b/home/.config/systemd/user/wallpaper.service index c38aaf7..6ca2b4d 100644 --- a/home/.config/systemd/user/wallpaper.service +++ b/home/.config/systemd/user/wallpaper.service @@ -3,9 +3,9 @@ Description="Wallpaper setter" PartOf=graphical-session.target [Service] -ExecStart=%h/.local/bin/scripts/gui/setbg -Type=oneshot -RemainAfterExit=false +Environment=WALLPAPER_IMAGE=%h/.local/share/background +ExecStart=/usr/bin/swaybg --image $WALLPAPER_IMAGE +Restart=always [Install] WantedBy=wm-ready.target