aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/systemd/user/waybar.service8
-rwxr-xr-xinstall1
2 files changed, 9 insertions, 0 deletions
diff --git a/config/systemd/user/waybar.service b/config/systemd/user/waybar.service
new file mode 100644
index 0000000..110ab83
--- /dev/null
+++ b/config/systemd/user/waybar.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Waybar
+
+[Service]
+ExecStart="/run/current-system/sw/bin/waybar"
+
+[Install]
+WantedBy="graphical-session.target"
diff --git a/install b/install
index c454b0b..209081c 100755
--- a/install
+++ b/install
@@ -122,6 +122,7 @@ if ask "desktop" "Install desktop"; then
inst config/swaylock/ ~/.config/swaylock
inst config/swayidle/ ~/.config/swayidle
inst config/wofi/ ~/.config/wofi
+ inst config/systemd/user/waybar.service ~/.config/systemd/user/waybar.service
[ -f "private/kanshi/$(hostname)" ] &&
inst "private/kanshi/$(hostname)" ~/.config/kanshi/config
inst config/xdg-desktop-portal-wlr/ ~/.config/xdg-desktop-portal-wlr