mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2025-02-26 13:53:01 +01:00
waybar: remove waybar.service
it is now provided by upstream
This commit is contained in:
parent
89c46ad970
commit
0215885fa4
@ -1,15 +0,0 @@
|
||||
[Unit]
|
||||
Description=Highly customizable Wayland bar
|
||||
Documentation=https://github.com/Alexays/Waybar/wiki/
|
||||
PartOf=graphical-session.target
|
||||
After=graphical-session.target
|
||||
ConditionEnvironment=WAYLAND_DISPLAY
|
||||
|
||||
[Service]
|
||||
ExecStart=waybar
|
||||
Slice=session.slice
|
||||
TimeoutStopSec=5sec
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical-session.target
|
@ -11,7 +11,6 @@ REQUIRED_DISTRO_FEATURES = "wayland gobject-introspection-data"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/Alexays/Waybar.git;protocol=https;branch=master \
|
||||
file://waybar.service \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
@ -70,7 +69,7 @@ PACKAGECONFIG ?= " \
|
||||
"
|
||||
|
||||
do_install:append() {
|
||||
install -m 0644 ${UNPACKDIR}/waybar.service ${D}${systemd_user_unitdir}
|
||||
sed -i "s|Requisite=graphical-session.target||" ${D}${systemd_user_unitdir}/waybar.service
|
||||
}
|
||||
|
||||
FILES:${PN} += "${systemd_user_unitdir}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user