diff --git a/dotfiles/systemd/xsettingsd.service b/dotfiles/systemd/xsettingsd.service index 9d287c7..ba076b7 100644 --- a/dotfiles/systemd/xsettingsd.service +++ b/dotfiles/systemd/xsettingsd.service @@ -3,11 +3,12 @@ Description=XSETTINGS daemon PartOf=graphical-session.target [Service] -Environment=SKIP_RELOAD=1 +Restart=on-failure ExecStartPre=%h/.config/i3/bin/xsettingsd-setup ExecStart=/usr/bin/xsettingsd -c %h/.xsettingsd ExecReload=%h/.config/i3/bin/xsettingsd-setup ExecReload=/usr/bin/kill -HUP $MAINPID -ExecReload=-/usr/bin/i3-cmd restart # restart i3 (it uses Xft.dpi) +# Restart i3 (it uses Xft.dpi) +ExecReload=-/usr/bin/i3-cmd restart +# Restart polybar (it uses an environment variable) ExecReload=/bin/systemctl --user try-restart polybar.service -Restart=on-failure