mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Start eww bar as service
This commit is contained in:
parent
746e79aa30
commit
0909c9f59b
|
@ -15,9 +15,6 @@ exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CUR
|
|||
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_TYPE
|
||||
exec-once = systemctl --user start wm-ready.target
|
||||
|
||||
exec-once = sleep 2 && eww open bar0
|
||||
#exec-once = eww open bar1
|
||||
|
||||
exec-once = aa-notify -p
|
||||
exec-once = udiskie -A -T
|
||||
# exec-once = nm-applet --indicator
|
||||
|
|
14
home/.config/systemd/user/eww-bar.service
Normal file
14
home/.config/systemd/user/eww-bar.service
Normal file
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description="Open eww bar"
|
||||
PartOf=graphical-session.target
|
||||
After=eww.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/eww open bar0
|
||||
Type=oneshot
|
||||
RemainAfterExit=false
|
||||
Restart=on-failure
|
||||
RestartSec=3s
|
||||
|
||||
[Install]
|
||||
WantedBy=wm-ready.target
|
1
home/.config/systemd/user/wm-ready.target.wants/eww-bar.service
Symbolic link
1
home/.config/systemd/user/wm-ready.target.wants/eww-bar.service
Symbolic link
|
@ -0,0 +1 @@
|
|||
/home/itsdrike/.config/systemd/user/eww-bar.service
|
Loading…
Reference in a new issue