Run setbg as systemd service file

This commit is contained in:
ItsDrike 2023-01-25 10:35:26 +01:00
parent cb6f7e60c4
commit b67f5a2c05
No known key found for this signature in database
GPG key ID: B014E761034AF742
3 changed files with 12 additions and 1 deletions

View file

@ -16,7 +16,6 @@ exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESK
exec-once = systemctl --user start xdg-desktop-portal-hyprland
exec-once = systemctl --user start wm-ready.target
exec-once = setbg
exec-once = sleep 2 && eww open bar0
#exec-once = eww open bar1

View file

@ -0,0 +1,11 @@
[Unit]
Description="Wallpaper setter"
PartOf=graphical-session.target
[Service]
ExecStart=%h/.local/bin/scripts/gui/setbg
Type=oneshot
RemainAfterExit=false
[Install]
WantedBy=wm-ready.target

View file

@ -0,0 +1 @@
/home/itsdrike/.config/systemd/user/wallpaper.service