Run dunst and swayidle as systemd user services on wm-ready

This commit is contained in:
ItsDrike 2023-01-25 02:46:59 +01:00
parent 7ae0ced2c0
commit 9e042a78a7
No known key found for this signature in database
GPG key ID: B014E761034AF742
5 changed files with 22 additions and 2 deletions

View file

@ -20,8 +20,6 @@ exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = setbg 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
exec-once = dunst
exec-once = swayidle
exec-once = aa-notify -p exec-once = aa-notify -p
exec-once = udiskie -A -T exec-once = udiskie -A -T

View file

@ -0,0 +1,10 @@
[Unit]
Description="Dunst daemon"
PartOf=graphical-session.target
[Service]
ExecStart=/usr/bin/dunst
Restart=on-failure
[Install]
WantedBy=wm-ready.target

View file

@ -0,0 +1,10 @@
[Unit]
Description="Idle management daemon"
PartOf=graphical-session.target
[Service]
ExecStart=/usr/bin/swayidle
Restart=on-failure
[Install]
WantedBy=wm-ready.target

View file

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

View file

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