1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-21 17:59:39 +01:00
home-manager/tests/modules/programs/waybar/systemd-with-graphical-session-target.service
Austin Horstman cfd7df8a21 waybar: systemd cleanup
No reason to allow nullable and it was inconsistently applied
2025-04-11 12:43:20 -07:00

17 lines
481 B
Desktop File

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