Convert eww-bar service to an instantiated eww-window service

This commit is contained in:
ItsDrike 2023-02-02 23:22:25 +01:00
parent 8dfb109e83
commit 8a33d738af
No known key found for this signature in database
GPG key ID: B014E761034AF742
3 changed files with 4 additions and 4 deletions

View file

@ -1,13 +1,13 @@
[Unit] [Unit]
Description="Open eww bar" Description="Open %I eww window"
PartOf=graphical-session.target PartOf=graphical-session.target
After=eww.service After=eww.service
PartOf=eww.service PartOf=eww.service
[Service] [Service]
ExecStartPre=/usr/local/bin/eww ping ExecStartPre=/usr/local/bin/eww ping
ExecStart=/usr/local/bin/eww open bar0 ExecStart=/usr/local/bin/eww open %i
ExecStop=/usr/local/bin/eww close bar0 ExecStop=/usr/local/bin/eww close %i
Type=oneshot Type=oneshot
RemainAfterExit=true RemainAfterExit=true
Restart=on-failure Restart=on-failure

View file

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

View file

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