Add gtk/qt matugen support (colors are wip), Fix some text in the Settings Tabs
This commit is contained in:
parent
9a71598944
commit
9b11be03af
19 changed files with 142 additions and 49 deletions
|
|
@ -109,7 +109,7 @@ ColumnLayout {
|
|||
// Use Matugen
|
||||
NToggle {
|
||||
label: "Use Matugen"
|
||||
description: "Automatically generate colors based on your active wallpaper using Matugen"
|
||||
description: "Automatically generate colors based on your active wallpaper using Matugen."
|
||||
checked: Settings.data.colorSchemes.useWallpaperColors
|
||||
onToggled: checked => {
|
||||
Settings.data.colorSchemes.useWallpaperColors = checked
|
||||
|
|
@ -140,6 +140,19 @@ ColumnLayout {
|
|||
}
|
||||
}
|
||||
|
||||
// GTK/QT theming
|
||||
NToggle {
|
||||
label: "Theme external apps (GTK & Qt)"
|
||||
description: "Writes GTK (gtk.css) and Qt (qt6ct) themes based on your colors."
|
||||
checked: Settings.data.colorSchemes.themeApps
|
||||
onToggled: checked => {
|
||||
Settings.data.colorSchemes.themeApps = checked
|
||||
if (Settings.data.colorSchemes.useWallpaperColors) {
|
||||
ColorSchemeService.changedWallpaper()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
NDivider {
|
||||
Layout.fillWidth: true
|
||||
Layout.topMargin: Style.marginLarge * scaling
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue