From c3b4d535ce74fe8b163e7dd4e16473c68f6afefa Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Wed, 25 Jan 2023 02:52:10 +0100 Subject: [PATCH] Run eww as systemd user service on wm-ready --- home/.config/systemd/user/eww.service | 10 ++++++++++ .../systemd/user/wm-ready.target.wants/eww.service | 1 + 2 files changed, 11 insertions(+) create mode 100644 home/.config/systemd/user/eww.service create mode 120000 home/.config/systemd/user/wm-ready.target.wants/eww.service diff --git a/home/.config/systemd/user/eww.service b/home/.config/systemd/user/eww.service new file mode 100644 index 0000000..0a34c9c --- /dev/null +++ b/home/.config/systemd/user/eww.service @@ -0,0 +1,10 @@ +[Unit] +Description="Eww daemon" +PartOf=graphical-session.target + +[Service] +ExecStart=/usr/local/bin/eww daemon --no-daemonize +Restart=on-failure + +[Install] +WantedBy=wm-ready.target diff --git a/home/.config/systemd/user/wm-ready.target.wants/eww.service b/home/.config/systemd/user/wm-ready.target.wants/eww.service new file mode 120000 index 0000000..144544a --- /dev/null +++ b/home/.config/systemd/user/wm-ready.target.wants/eww.service @@ -0,0 +1 @@ +/home/itsdrike/.config/systemd/user/eww.service \ No newline at end of file