mirror of
				https://codeberg.org/flk/meta-wayland.git
				synced 2025-10-30 18:05:46 +01:00 
			
		
		
		
	nwg-dock-hyprland: adjust systemd service
This commit is contained in:
		| @@ -31,19 +31,18 @@ do_install:append() { | |||||||
| 	cp -rf ${S}/src/${GO_IMPORT}/images ${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 <<EOF | 	cat >${D}${systemd_user_unitdir}/nwg-dock-hyprland.service <<EOF | ||||||
| [Unit] | [Unit] | ||||||
| Description=nwg-dock-hyprland | Description=Nwg Dock Hyprland - gtk3 based dock for Hyprland, written in go | ||||||
|  | BindsTo=graphical-session.target | ||||||
|  | Before=graphical-session.target | ||||||
|  | Wants=xdg-desktop-autostart.target | ||||||
|  | Wants=graphical-session-pre.target | ||||||
|  | After=graphical-session-pre.target | ||||||
|  |  | ||||||
| [Service] | [Service] | ||||||
| LockPersonality=yes |  | ||||||
| MemoryDenyWriteExecute=yes |  | ||||||
| NoNewPrivileges=yes |  | ||||||
| RestrictNamespaces=yes |  | ||||||
| Type=simple | Type=simple | ||||||
| ExecStart= /usr/bin/nwg-dock-hyprland -mb 6 -d -hd 2000 | ExecStartPre=systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XAUTHORITY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP | ||||||
|  | ExecStart=nwg-dock-hyprland -d -hd 2000 | ||||||
| Restart=on-failure | Restart=on-failure | ||||||
|  |  | ||||||
| [Install] |  | ||||||
| WantedBy=graphical-session.target |  | ||||||
| EOF | EOF | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user