rosenthal: niri: Patch .desktop file.

* rosenthal/packages/wm.scm (niri)[arguments]<#:phases>: Patch .desktop file.
This commit is contained in:
Hilton Chain 2025-03-12 16:17:00 +08:00
parent 6db17fbcbe
commit 8a00800a57
No known key found for this signature in database
GPG Key ID: ACC66D09CA528292

View File

@ -170,6 +170,9 @@ extensions, such as @code{wlr-protocols} and @code{plasma-wayland-protocols}.")
(setenv "XDG_RUNTIME_DIR" "/tmp")))
(add-after 'install 'install-extras
(lambda _
(substitute* "resources/niri.desktop"
(("niri-session")
(string-append #$output "/bin/niri --session")))
(install-file
"resources/niri.desktop"
(in-vicinity #$output "share/wayland-sessions"))