Start eww bar as service

This commit is contained in:
ItsDrike 2023-01-25 18:54:40 +01:00
parent 746e79aa30
commit 0909c9f59b
No known key found for this signature in database
GPG key ID: B014E761034AF742
3 changed files with 15 additions and 3 deletions

View file

@ -15,9 +15,6 @@ exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CUR
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
#exec-once = eww open bar1
exec-once = aa-notify -p
exec-once = udiskie -A -T
# exec-once = nm-applet --indicator

View file

@ -0,0 +1,14 @@
[Unit]
Description="Open eww bar"
PartOf=graphical-session.target
After=eww.service
[Service]
ExecStart=/usr/local/bin/eww open bar0
Type=oneshot
RemainAfterExit=false
Restart=on-failure
RestartSec=3s
[Install]
WantedBy=wm-ready.target

View file

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