diff options
author | Reza Alizadeh Majd <r.majd@pantherx.org> | 2020-10-16 14:47:19 +0330 |
---|---|---|
committer | Oleg Pykhalov <go.wigust@gmail.com> | 2020-10-20 00:16:43 +0300 |
commit | bdb030a7dc5bf84365d7f77935e838f848e02786 (patch) | |
tree | 85e3528dc64d2cccbd27e8bcaac16aa8fd3acf78 /gnu/packages | |
parent | 9aa35795d3379de2ee2f0a6fffae61331a4da344 (diff) |
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>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/lxqt.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm index 67b75ced1e..3c4b2d4c50 100644 --- a/gnu/packages/lxqt.scm +++ b/gnu/packages/lxqt.scm @@ -876,7 +876,14 @@ allows for launching applications or shutting down the system.") (("\\$\\{LXQT_TRANSLATIONS_DIR\\}") (string-append (assoc-ref outputs "out") "/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") (synopsis "Session manager for LXQt") (description "lxqt-session provides the standard session manager |