mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-26 05:04:34 +00:00
Convert eww-bar service to an instantiated eww-window service
This commit is contained in:
parent
8dfb109e83
commit
8a33d738af
|
@ -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
|
|
@ -1 +0,0 @@
|
||||||
/home/itsdrike/.config/systemd/user/eww-bar.service
|
|
|
@ -0,0 +1 @@
|
||||||
|
/home/itsdrike/.config/systemd/user/eww-window@.service
|
Loading…
Reference in a new issue