From ac80ad19a517c30b195af42d2eec8b972d5bc463 Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 24 Nov 2021 21:11:33 +0100 Subject: waybar: Add systemd user service .config/systemd/user/waybar.service: Add systemd user service, that binds to sway-session.target. --- .config/systemd/user/waybar.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .config/systemd/user/waybar.service 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 -- cgit v1.2.3-70-g09d2