Compare commits

...

2 Commits

Author SHA1 Message Date
Hilton Chain
42269efc67
services: Use alist of alists for ini-file.
This unifies the style with other serializers.
2026-07-23 04:53:28 +08:00
Hilton Chain
87d4e55ea4
rosenthal: Adjust module import for deprecation warnings. 2026-07-23 04:53:26 +08:00
2 changed files with 6 additions and 4 deletions

View File

@ -39,13 +39,15 @@
(if (null? config)
'()
`(("gtk-3.0/settings.ini"
,(ini-file "settings.ini" #~'(("Settings" #$@config)))))))
,(ini-file "settings.ini"
#~'(("Settings" . #$config)))))))
(define (home-gtk4-xdg-configuration-files config)
(if (null? config)
'()
`(("gtk-4.0/settings.ini"
,(ini-file "settings.ini" #~'(("Settings" #$@config)))))))
,(ini-file "settings.ini"
#~'(("Settings" . #$config)))))))
(define home-gtk2-service-type
(service-type

View File

@ -46,7 +46,7 @@
#:use-module (gnu packages networking)
#:use-module (gnu packages polkit)
#:use-module (gnu packages qt)
#:use-module (gnu packages wm)
#:use-module (gnu packages window-management)
#:use-module (gnu packages xorg)
#:use-module (rosenthal packages authentication)
#:use-module (rosenthal packages wm)
@ -550,7 +550,7 @@ compositor.")))
(icon-theme)
(ini-file "index.theme"
#~'(("icon theme"
("Inherits" . #$icon-theme))))))
. (("Inherits" . #$icon-theme)))))))
(define (home-theme-files config)
`((".icons/default/index.theme"