Move Sway to systemd
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
parent
7b5b1019cc
commit
2c3d93ebee
26 changed files with 264 additions and 131 deletions
12
home/.config/systemd/user/wob.service
Normal file
12
home/.config/systemd/user/wob.service
Normal file
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=A lightweight overlay volume/backlight/progress/anything bar for Wayland
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStartPre=/usr/bin/mkfifo /tmp/sway.wob
|
||||
ExecStart=/usr/bin/tail -f /tmp/sway.wob | wob
|
||||
ExecStop=/usr/bin/rm /tmp/sway.wob
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
Loading…
Add table
Add a link
Reference in a new issue