[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
205/332: services: sddm: Set some environment variables for the breeze t
From: |
guix-commits |
Subject: |
205/332: services: sddm: Set some environment variables for the breeze theme. |
Date: |
Thu, 3 Aug 2023 05:43:54 -0400 (EDT) |
iyzsong pushed a commit to branch kde-updates
in repository guix.
commit 7e056197d7bf8f888fe52db9d5ee34ec253ffff9
Author: Zheng Junjie <873216071@qq.com>
AuthorDate: Fri Jul 21 17:39:27 2023 +0800
services: sddm: Set some environment variables for the breeze theme.
* gnu/services/sddm.scm (sddm-service-type): Pass #:environment-variables to
make-forkexec-constructor.
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
---
gnu/services/sddm.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/gnu/services/sddm.scm b/gnu/services/sddm.scm
index c9a7ba96f4..69c737829b 100644
--- a/gnu/services/sddm.scm
+++ b/gnu/services/sddm.scm
@@ -171,7 +171,16 @@ Relogin=" (if (sddm-configuration-relogin?
config)
(documentation "SDDM display manager.")
(requirement '(user-processes elogind pam))
(provision '(xorg-server display-manager))
- (start #~(make-forkexec-constructor #$sddm-command))
+ (start #~(make-forkexec-constructor
+ #$sddm-command
+ ;; some theme need icon,qml,data so add path to env.
+ #:environment-variables
+ (cons*
+ "XDG_DATA_DIRS=/run/current-system/profile/share"
+ "XDG_CONFIG_DIRS=/run/current-system/profile/etc/xdg"
+
"QT_PLUGIN_PATH=/run/current-system/profile/lib/qt5/plugins"
+ "QML2_IMPORT_PATH=/run/current-system/profile/lib/qt5/qml"
+ (default-environment-variables))))
(stop #~(make-kill-destructor)))))
(define (sddm-etc-service config)
- 162/332: gnu: plasma-nano: Update to 5.27.6., (continued)
- 162/332: gnu: plasma-nano: Update to 5.27.6., guix-commits, 2023/08/03
- 159/332: gnu: plasmatube: Update to 23.01.0., guix-commits, 2023/08/03
- 165/332: gnu: calindori: Update to 23.01.0., guix-commits, 2023/08/03
- 173/332: gnu: kwayland-integration: Update to 5.27.6., guix-commits, 2023/08/03
- 193/332: gnu: plasma: Update to 5.27.6., guix-commits, 2023/08/03
- 175/332: gnu: plasma-systemmonitor: Update to 5.27.6., guix-commits, 2023/08/03
- 201/332: gnu: system-settings: Add more qml inputs., guix-commits, 2023/08/03
- 200/332: gnu: libkcddb: Update to 23.04.3., guix-commits, 2023/08/03
- 203/332: gnu: plasma-desktop: Add qtquickcontrols-5 to inputs., guix-commits, 2023/08/03
- 194/332: gnu: xdg-desktop-portal-kde: Update to 5.27.6., guix-commits, 2023/08/03
- 205/332: services: sddm: Set some environment variables for the breeze theme.,
guix-commits <=
- 213/332: gnu: kmahjongg: Update to 23.04.3., guix-commits, 2023/08/03
- 218/332: gnu: konquest: Update to 23.04.3., guix-commits, 2023/08/03
- 215/332: gnu: kajongg: Update to 23.04.3., guix-commits, 2023/08/03
- 212/332: gnu: libkmahjongg: Update to 23.04.3., guix-commits, 2023/08/03
- 247/332: gnu: konversation: Update to 23.04.3., guix-commits, 2023/08/03
- 217/332: gnu: kmines: Update to 23.04.3., guix-commits, 2023/08/03
- 239/332: gnu: killbots: Update to 23.04.3., guix-commits, 2023/08/03
- 222/332: gnu: klines: Update to 23.04.3., guix-commits, 2023/08/03
- 246/332: gnu: kget: Update to 23.04.3., guix-commits, 2023/08/03
- 230/332: gnu: ksirk: Update to 23.04.3., guix-commits, 2023/08/03