Fix GTK config

This commit is contained in:
Henrik Lissner 2020-10-26 00:28:37 -04:00
parent 0914057825
commit d8730b6d30
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -51,11 +51,11 @@ in {
"gtk-3.0/settings.ini".text = '' "gtk-3.0/settings.ini".text = ''
[Settings] [Settings]
${optionalString (cfg.gtk.theme != "") ${optionalString (cfg.gtk.theme != "")
''gtk-theme-name="${cfg.gtk.theme}"''} ''gtk-theme-name=${cfg.gtk.theme}''}
${optionalString (cfg.gtk.iconTheme != "") ${optionalString (cfg.gtk.iconTheme != "")
''gtk-icon-theme-name="${cfg.gtk.iconTheme}"''} ''gtk-icon-theme-name=${cfg.gtk.iconTheme}''}
${optionalString (cfg.gtk.cursorTheme != "") ${optionalString (cfg.gtk.cursorTheme != "")
''gtk-cursor-theme-name="${cfg.gtk.cursorTheme}"''} ''gtk-cursor-theme-name=${cfg.gtk.cursorTheme}''}
gtk-fallback-icon-theme=gnome gtk-fallback-icon-theme=gnome
gtk-application-prefer-dark-theme=true gtk-application-prefer-dark-theme=true
gtk-xft-hinting=1 gtk-xft-hinting=1
@ -74,7 +74,7 @@ in {
"Trolltech.conf".text = '' "Trolltech.conf".text = ''
[Qt] [Qt]
${optionalString (cfg.gtk.theme != "") ${optionalString (cfg.gtk.theme != "")
''style="${cfg.gtk.theme}"''} ''style=${cfg.gtk.theme}''}
''; '';
}; };
} }