mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
GTK refresh fix
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user