From 832a5732513a69501ab6067a8aca642b939748b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 21 Apr 2024 20:54:07 +0200 Subject: Add systemd service for waybar --- config/systemd/user/waybar.service | 8 ++++++++ install | 1 + 2 files changed, 9 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..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 -- cgit v1.2.3