keep polybar managed by systemd
This commit is contained in:
parent
7a491a49cb
commit
fcdfb47b0d
|
@ -238,7 +238,6 @@ bindsym $mod+r mode "resize"
|
||||||
exec --no-startup-id systemctl --user import-environment
|
exec --no-startup-id systemctl --user import-environment
|
||||||
exec --no-startup-id systemctl --user start user-graphical-login.target
|
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/dex -a
|
||||||
exec --no-startup-id /bin/bash ~/.config/i3/startup.bash
|
exec --no-startup-id /bin/bash ~/.config/i3/startup.bash
|
||||||
|
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue