Merge pull request #2406 from notiant/patch-7

GTK refresh fix
This commit is contained in:
Lysec
2026-04-05 12:36:32 +02:00
committed by GitHub
4 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -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 {
@@ -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 {
@@ -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 {
+2
View File
@@ -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]);
}