Compare commits

...

2 Commits

Author SHA1 Message Date
Hilton Chain
3c08ac7178
rosenthal: pam-dumb-runtime-dir: Add source file name.
* rosenthal/packages/admin.scm (pam-dumb-runtime-dir)[source]: Add file name.
2025-03-12 16:17:47 +08:00
Hilton Chain
8a00800a57
rosenthal: niri: Patch .desktop file.
* rosenthal/packages/wm.scm (niri)[arguments]<#:phases>: Patch .desktop file.
2025-03-12 16:17:07 +08:00
2 changed files with 4 additions and 0 deletions

View File

@ -73,6 +73,7 @@ the user to manage services with dependencies and parallel startup.")
(uri (git-reference
(url "https://github.com/ifreund/dumb_runtime_dir")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0nrxhvbh3bs4pi4f5h03zw1p1ys19qmmlx263ysly8302wkxk1m4"))))

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"))