Add waybar systemd service
0b83ef153c150f3777d19ee57d8ca41ed994ca86
1 parent
78f66189
.config/systemd/user/waybar.service
added
+15 -0
| 1 | + | [Unit] |
|
| 2 | + | Description=Highly customizable Wayland bar for Sway and Wlroots based compositors |
|
| 3 | + | Documentation=https://github.com/Alexays/Waybar/wiki/ |
|
| 4 | + | PartOf=graphical-session.target |
|
| 5 | + | After=graphical-session.target |
|
| 6 | + | Requisite=graphical-session.target |
|
| 7 | + | ||
| 8 | + | [Service] |
|
| 9 | + | Environment="PATH=%h/bin:/usr/local/bin:/usr/bin" |
|
| 10 | + | ExecStart=/usr/bin/waybar |
|
| 11 | + | ExecReload=kill -SIGUSR2 $MAINPID |
|
| 12 | + | Restart=on-failure |
|
| 13 | + | ||
| 14 | + | [Install] |
|
| 15 | + | WantedBy=graphical-session.target |