1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

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 <me@frebib.net>
This commit is contained in:
2020-08-10 21:26:16 +01:00
parent c1ff08b878
commit 561582734e
3 changed files with 3 additions and 3 deletions

View File

@ -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]