From 0933624285093cb620b27c987ac71be92fef35eb Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Thu, 13 Jun 2024 18:10:24 +0200 Subject: [PATCH] nwg-dock-hyprland: add systemd service file --- .../nwg-shell/nwg-dock-hyprland_git.bb | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/recipes-gtk/nwg-shell/nwg-dock-hyprland_git.bb b/recipes-gtk/nwg-shell/nwg-dock-hyprland_git.bb index 3211a20..36da46d 100644 --- a/recipes-gtk/nwg-shell/nwg-dock-hyprland_git.bb +++ b/recipes-gtk/nwg-shell/nwg-dock-hyprland_git.bb @@ -26,9 +26,27 @@ do_install:append() { # remove precompiled x86 binaries rm -rf ${D}${libdir}/go/src/${GO_IMPORT}/bin rm -rf ${D}${libdir}/go/pkg/mod/github.com/dlasky/gotk3-layershell*/example - install -d ${D}${datadir}/nwg-dock-hyprland + install -d ${D}${datadir}/nwg-dock-hyprland ${D}${systemd_user_unitdir} install -m 0644 ${S}/src/${GO_IMPORT}/config/style.css ${D}${datadir}/nwg-dock-hyprland cp -rf ${S}/src/${GO_IMPORT}/images ${D}${datadir}/nwg-dock-hyprland + cat >${D}${systemd_user_unitdir}/nwg-dock-hyprland.service <