waybar: allow multiple systemd targets
This commit is contained in:
parent
4b1be5c38b
commit
accd450fcd
3 changed files with 21 additions and 19 deletions
|
|
@ -8,7 +8,7 @@
|
|||
package = config.lib.test.mkStubPackage { outPath = "@waybar@"; };
|
||||
enable = true;
|
||||
systemd.enable = true;
|
||||
systemd.target = "sway-session.target";
|
||||
systemd.targets = [ "sway-session.target" ];
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[Install]
|
||||
WantedBy=sway-session.target
|
||||
WantedBy=tray.target
|
||||
WantedBy=sway-session.target
|
||||
|
||||
[Service]
|
||||
ExecReload=/nix/store/00000000000000000000000000000000-coreutils/bin/kill -SIGUSR2 $MAINPID
|
||||
|
|
@ -13,5 +13,5 @@ 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
|
||||
PartOf=sway-session.target
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue