mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2024-11-19 20:08:27 +01:00
adjust service files
This commit is contained in:
parent
fe9c4b6c7b
commit
2629661a5d
@ -32,17 +32,18 @@ do_install:append() {
|
|||||||
cat >${D}${systemd_user_unitdir}/nwg-dock-hyprland.service <<EOF
|
cat >${D}${systemd_user_unitdir}/nwg-dock-hyprland.service <<EOF
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Nwg Dock Hyprland - gtk3 based dock for Hyprland, written in go
|
Description=Nwg Dock Hyprland - gtk3 based dock for Hyprland, written in go
|
||||||
BindsTo=graphical-session.target
|
PartOf=graphical-session.target
|
||||||
Before=graphical-session.target
|
After=graphical-session.target
|
||||||
Wants=xdg-desktop-autostart.target
|
ConditionEnvironment=WAYLAND_DISPLAY
|
||||||
Wants=graphical-session-pre.target
|
|
||||||
After=graphical-session-pre.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
|
||||||
ExecStartPre=systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XAUTHORITY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP
|
|
||||||
ExecStart=nwg-dock-hyprland -d -hd 2000
|
ExecStart=nwg-dock-hyprland -d -hd 2000
|
||||||
|
Slice=session.slice
|
||||||
|
TimeoutStopSec=5sec
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=graphical-session.target
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,14 +1,15 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Highly customizable Wayland bar
|
Description=Highly customizable Wayland bar
|
||||||
Documentation=https://github.com/Alexays/Waybar/wiki/
|
Documentation=https://github.com/Alexays/Waybar/wiki/
|
||||||
BindsTo=graphical-session.target
|
PartOf=graphical-session.target
|
||||||
Before=graphical-session.target
|
After=graphical-session.target
|
||||||
Wants=xdg-desktop-autostart.target
|
ConditionEnvironment=WAYLAND_DISPLAY
|
||||||
Wants=graphical-session-pre.target
|
|
||||||
After=graphical-session-pre.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
|
||||||
ExecStartPre=systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XAUTHORITY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP
|
|
||||||
ExecStart=waybar
|
ExecStart=waybar
|
||||||
|
Slice=session.slice
|
||||||
|
TimeoutStopSec=5sec
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=graphical-session.target
|
||||||
|
Loading…
Reference in New Issue
Block a user