(("\\$\\{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
(substitute* '("autostart/CMakeLists.txt")
(("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
"DESTINATION \"etc/xdg"))
+ (substitute* '("config/pcmanfm-qt/lxqt/settings.conf.in")
+ (("@LXQT_SHARE_DIR@")
+ "/run/current-system/profile/share/lxqt" ))
#t)))))
(home-page "https://lxqt.github.io")
(synopsis "File manager and desktop icon manager")
(origin
(method git-fetch)
(uri (git-reference
- (url (string-append "https://github.com/lxqt/" name ".git"))
+ (url (string-append "https://github.com/lxqt/" name))
(commit commit)))
(file-name (git-file-name name version))
(sha256 (base32 "0br4bxfrl8k7lq84aq4grznlk8xzzjgkmd19bf9mwjr0a87gg72v"))))