mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Joe Groocock
561582734e
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>
14 lines
303 B
Desktop File
14 lines
303 B
Desktop File
[Unit]
|
|
Description=Polybar
|
|
Requires=graphical-session.target
|
|
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]
|
|
WantedBy=desktop.target
|