mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 06:36:37 -05:00
gnu: lxqt-session: Wrap startlxqt executable.
* gnu/packages/lxqt.scm (lxqt-session)[arguments]: Add new phase to wrap "lxqt-session" and add base paths for "lxqt" and "pcmanfm-qt" config folders in system profile to "XDG_CONFIG_DIRS" environment variable. Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
This commit is contained in:
parent
9aa35795d3
commit
bdb030a7dc
1 changed files with 8 additions and 1 deletions
|
@ -876,7 +876,14 @@ (define-public lxqt-session
|
||||||
(("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
|
(("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
|
||||||
(string-append (assoc-ref outputs "out")
|
(string-append (assoc-ref outputs "out")
|
||||||
"/share/lxqt/translations")))
|
"/share/lxqt/translations")))
|
||||||
#t)))))
|
#t))
|
||||||
|
(add-after 'install 'wrap-program
|
||||||
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
(wrap-program (string-append out "/bin/startlxqt")
|
||||||
|
`("XDG_CONFIG_DIRS" ":" suffix ("/run/current-system/profile/share"
|
||||||
|
"/run/current-system/profile/share/pcmanfm-qt")))
|
||||||
|
#t))))))
|
||||||
(home-page "https://lxqt.github.io")
|
(home-page "https://lxqt.github.io")
|
||||||
(synopsis "Session manager for LXQt")
|
(synopsis "Session manager for LXQt")
|
||||||
(description "lxqt-session provides the standard session manager
|
(description "lxqt-session provides the standard session manager
|
||||||
|
|
Loading…
Reference in a new issue