From f777e539f563da46ff9f8c50dd94001b3b75bb1a Mon Sep 17 00:00:00 2001 From: notiant <238434866+notiant@users.noreply.github.com> Date: Sun, 5 Apr 2026 01:14:51 +0200 Subject: [PATCH] GTK refresh fix --- Modules/Panels/Clock/ClockPanel.qml | 2 +- Modules/Panels/Settings/Tabs/Connections/BluetoothSubTab.qml | 2 +- Modules/Panels/Settings/Tabs/Connections/WifiSubTab.qml | 2 +- Services/Theming/ColorSchemeService.qml | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Modules/Panels/Clock/ClockPanel.qml b/Modules/Panels/Clock/ClockPanel.qml index 5ab12dbb6..c568ef24d 100644 --- a/Modules/Panels/Clock/ClockPanel.qml +++ b/Modules/Panels/Clock/ClockPanel.qml @@ -25,7 +25,7 @@ SmartPanel { x: Style.marginL y: Style.marginL width: parent.width - Style.margin2L - spacing: Style.marginL + spacing: Style.marginM // All clock panel cards Repeater { diff --git a/Modules/Panels/Settings/Tabs/Connections/BluetoothSubTab.qml b/Modules/Panels/Settings/Tabs/Connections/BluetoothSubTab.qml index c424a52eb..ce398f711 100644 --- a/Modules/Panels/Settings/Tabs/Connections/BluetoothSubTab.qml +++ b/Modules/Panels/Settings/Tabs/Connections/BluetoothSubTab.qml @@ -138,7 +138,7 @@ Item { id: mainLayout anchors.left: parent.left anchors.right: parent.right - spacing: Style.marginL + spacing: root.showOnlyLists ? Style.marginM : Style.marginL // Master Control Section NBox { diff --git a/Modules/Panels/Settings/Tabs/Connections/WifiSubTab.qml b/Modules/Panels/Settings/Tabs/Connections/WifiSubTab.qml index 092ac7720..5cfebb193 100644 --- a/Modules/Panels/Settings/Tabs/Connections/WifiSubTab.qml +++ b/Modules/Panels/Settings/Tabs/Connections/WifiSubTab.qml @@ -125,7 +125,7 @@ Item { id: mainLayout anchors.left: parent.left anchors.right: parent.right - spacing: Style.marginL + spacing: root.showOnlyLists ? Style.marginM : Style.marginL // Master Control Section NBox { diff --git a/Services/Theming/ColorSchemeService.qml b/Services/Theming/ColorSchemeService.qml index 9348fe4c1..43159b50e 100644 --- a/Services/Theming/ColorSchemeService.qml +++ b/Services/Theming/ColorSchemeService.qml @@ -22,6 +22,8 @@ Singleton { function pushSystemColorScheme() { if (!Settings.data.colorSchemes.syncGsettings) return; + if (TemplateProcessor.isTemplateEnabled("gtk")) + return; const mode = Settings.data.colorSchemes.darkMode ? "dark" : "light"; Quickshell.execDetached(["python3", gtkRefreshScript, "--appearance-only", mode]); }