mirror of
https://github.com/nix-community/home-manager
synced 2025-01-10 02:59:49 +01:00
6a9f87b3aa
As per systemd.special(7)[0] graphical-session-pre.target is strictly for units that set up things for a graphical session. Most notably, these are usually started *before* the compositor/session is actually ready. While Home Manager's current implementation of graphical-session.target allows these units to work regardless of what systemd.special(7) specifies, other setups like ones with uwsm[1] do not allow these units to start properly. [0]: https://www.freedesktop.org/software/systemd/man/latest/systemd.special.html#graphical-session-pre.target [1]: https://github.com/Vladimir-csp/uwsm Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
14 lines
404 B
Desktop File
14 lines
404 B
Desktop File
[Install]
|
|
WantedBy=sway-session.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
|
|
Description=Highly customizable Wayland bar for Sway and Wlroots based compositors.
|
|
Documentation=https://github.com/Alexays/Waybar/wiki
|
|
PartOf=sway-session.target
|