Move Sway to systemd

Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
Marko Korhonen 2020-01-10 15:35:07 +02:00
parent 7b5b1019cc
commit 2c3d93ebee
26 changed files with 264 additions and 131 deletions

View 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