mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Run setbg as systemd service file
This commit is contained in:
parent
cb6f7e60c4
commit
b67f5a2c05
|
@ -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 xdg-desktop-portal-hyprland
|
||||||
exec-once = systemctl --user start wm-ready.target
|
exec-once = systemctl --user start wm-ready.target
|
||||||
|
|
||||||
exec-once = setbg
|
|
||||||
exec-once = sleep 2 && eww open bar0
|
exec-once = sleep 2 && eww open bar0
|
||||||
#exec-once = eww open bar1
|
#exec-once = eww open bar1
|
||||||
|
|
||||||
|
|
11
home/.config/systemd/user/wallpaper.service
Normal file
11
home/.config/systemd/user/wallpaper.service
Normal 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
|
|
@ -0,0 +1 @@
|
||||||
|
/home/itsdrike/.config/systemd/user/wallpaper.service
|
Loading…
Reference in a new issue