From 0be14cd96a272be5eda073b639579894323634f2 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Thu, 26 Jan 2023 01:28:35 +0100 Subject: [PATCH] Make sure stopping eww-bar service closes the bar --- home/.config/systemd/user/eww-bar.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/.config/systemd/user/eww-bar.service b/home/.config/systemd/user/eww-bar.service index ab09a73..3eb6dcd 100644 --- a/home/.config/systemd/user/eww-bar.service +++ b/home/.config/systemd/user/eww-bar.service @@ -5,8 +5,9 @@ After=eww.service [Service] ExecStart=/usr/local/bin/eww open bar0 +ExecStop=/usr/local/bin/eww close bar0 Type=oneshot -RemainAfterExit=false +RemainAfterExit=true Restart=on-failure RestartSec=3s