aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2021-11-24 21:11:33 +0100
committerDavid Runge <dave@sleepmap.de>2021-11-24 21:11:33 +0100
commitac80ad19a517c30b195af42d2eec8b972d5bc463 (patch)
tree09cfa676d6524feecae60122b544175be450b270
parentcffd442b8435cbbfb4111dbcdc5b6a88616a213e (diff)
downloaddotfiles-ac80ad19a517c30b195af42d2eec8b972d5bc463.tar.gz
dotfiles-ac80ad19a517c30b195af42d2eec8b972d5bc463.tar.bz2
dotfiles-ac80ad19a517c30b195af42d2eec8b972d5bc463.tar.xz
dotfiles-ac80ad19a517c30b195af42d2eec8b972d5bc463.zip
waybar: Add systemd user service
.config/systemd/user/waybar.service: Add systemd user service, that binds to sway-session.target.
-rw-r--r--.config/systemd/user/waybar.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/systemd/user/waybar.service b/.config/systemd/user/waybar.service
new file mode 100644
index 0000000..bcdcb23
--- /dev/null
+++ b/.config/systemd/user/waybar.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Highly customizable Wayland bar for Sway and Wlroots based compositors.
+Documentation=https://github.com/Alexays/Waybar/wiki/
+PartOf=graphical-session.target
+After=graphical-session.target
+BindsTo=sway-session.target
+
+[Service]
+ExecStart=/usr/bin/waybar
+
+[Install]
+WantedBy=sway-session.target