Matugen: fix hex_stripped for predefined color schemes

NSearchableComboBox: fix warning
This commit is contained in:
lysec
2025-10-18 19:04:20 +02:00
parent 710e6af272
commit 3249febb0f
2 changed files with 10 additions and 2 deletions
+9 -1
View File
@@ -162,7 +162,8 @@ Singleton {
function generatePalette(primaryColor, secondaryColor, tertiaryColor, errorColor, backgroundColor, outlineColor, isDarkMode) {
const c = hex => ({
"default": {
"hex": hex
"hex": hex,
"hex_stripped": hex.replace(/^#/, "")
}
})
@@ -383,6 +384,13 @@ Singleton {
id: generateProcess
workingDirectory: Quickshell.shellDir
running: false
stdout: StdioCollector {
onStreamFinished: {
if (this.text) {
Logger.i("AppThemeService", "GenerateProcess stdout:", this.text)
}
}
}
stderr: StdioCollector {
onStreamFinished: {
if (this.text) {
+1 -1
View File
@@ -233,7 +233,7 @@ RowLayout {
Layout.alignment: Qt.AlignRight
Repeater {
model: badgeLocations
model: typeof badgeLocations !== 'undefined' ? badgeLocations : []
delegate: NBox {
width: Style.baseWidgetSize * 0.7