home-manager/tests/modules/programs/waybar/systemd-with-graphical-session-target.service
Blaž Hrastnik 19fc0917c0
waybar: fix systemd service
Fix xdg-portal issue where it'd take 25s for a GTK app to start
2021-05-01 16:26:10 -04:00

15 lines
361 B
Desktop File

[Install]
WantedBy=graphical-session.target
[Service]
ExecReload=kill -SIGUSR2 $MAINPID
ExecStart=@waybar@/bin/waybar
KillMode=mixed
Restart=on-failure
[Unit]
After=graphical-session.target
Description=Highly customizable Wayland bar for Sway and Wlroots based compositors.
Documentation=https://github.com/Alexays/Waybar/wiki
PartOf=graphical-session.target