From baf0d2acdc72a778099a90c35a8391ad958cf08d Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Mon, 10 Aug 2020 20:33:32 +0100 Subject: [PATCH] polybar: use 'polybar-msg cmd restart' to reload This is technically more of a restart than a reload, but it's the closest thing without actually restarting the main pid. Signed-off-by: Joe Groocock --- .config/systemd/user/polybar@.service | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/systemd/user/polybar@.service b/.config/systemd/user/polybar@.service index b2d67da..83e1bcd 100644 --- a/.config/systemd/user/polybar@.service +++ b/.config/systemd/user/polybar@.service @@ -6,6 +6,7 @@ After=graphical-session.target pulseaudio.socket i3.service [Service] Type=simple ExecStart=/usr/bin/polybar --reload --log=warning %i +ExecReload=/usr/bin/polybar-msg cmd restart -p $MAINPID Restart=always [Install]