1
0
Fork 0

keep polybar managed by systemd

This commit is contained in:
Massaki Archambault 2018-09-11 10:00:01 -04:00
parent 7a491a49cb
commit fcdfb47b0d
2 changed files with 11 additions and 1 deletions

View File

@ -238,7 +238,6 @@ bindsym $mod+r mode "resize"
exec --no-startup-id systemctl --user import-environment
exec --no-startup-id systemctl --user start user-graphical-login.target
exec --no-startup-id /bin/polybar top
exec --no-startup-id /bin/dex -a
exec --no-startup-id /bin/bash ~/.config/i3/startup.bash

View File

@ -0,0 +1,11 @@
[Unit]
Description=A fast and easy-to-use tool status bar
Requires=user-graphical-login.target
After=user-graphical-login.target
[Service]
ExecStart=/usr/bin/polybar top
Restart=always
[Install]
WantedBy=user-graphical-login.target