mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 06:37:08 +01:00
gnu: qtile: Install .desktop file.
* gnu/packages/wm.scm (qtile)[arguments]: Add install-xsession phase. Signed-off-by: Marius Bakke <marius@gnu.org>
This commit is contained in:
parent
69820ecfd9
commit
b0d64a81dc
1 changed files with 10 additions and 1 deletions
|
@ -579,7 +579,16 @@ (define-public qtile
|
|||
(assoc-ref inputs "pango") "/lib/libpango-1.0.so.0\")\n"))
|
||||
(("^pangocairo = ffi.dlopen.*")
|
||||
(string-append "pangocairo = ffi.dlopen(\""
|
||||
(assoc-ref inputs "pango") "/lib/libpangocairo-1.0.so.0\")\n"))))))))
|
||||
(assoc-ref inputs "pango") "/lib/libpangocairo-1.0.so.0\")\n")))))
|
||||
(add-after 'install 'install-xsession
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(xsessions (string-append out "/share/xsessions"))
|
||||
(qtile (string-append out "/bin/qtile start")))
|
||||
(mkdir-p xsessions)
|
||||
(copy-file "resources/qtile.desktop" (string-append xsessions "/qtile.desktop"))
|
||||
(substitute* (string-append xsessions "/qtile.desktop")
|
||||
(("qtile start") qtile))))))))
|
||||
(inputs
|
||||
(list glib pango pulseaudio))
|
||||
(propagated-inputs
|
||||
|
|
Loading…
Reference in a new issue