dotfiles/.config/systemd/user/.#waybar.service15c133f9ac3a0f00
surtur 79b1a5eb99
systemd(user): start waybar as part of sway
* runs waybar as a systemd user service on sway start-up
* follow-up of ef2e74ed8d
2021-11-10 02:54:07 +01:00

16 lines
496 B
Plaintext

# ~/.config/systemd/user/waybar.service or /etc/systemd/user/waybar.service
[Unit]
Description=Highly customizable Wayland bar for Sway and Wlroots based compositors.
Documentation=https://github.com/Alexays/Waybar/wiki/
#PartOf=graphical-session.target
PartOf=sway-session.target
After=sway-session.target
[Service]
ExecStart=/usr/bin/waybar
# Upstreamed in https://github.com/Alexays/Waybar/pull/1036
ExecReload=kill -SIGUSR2 $MAINPID
Restart=on-failure
[Install]
WantedBy=sway-session.target