From 9d81863a63637618a43466cadf876c1adb03354f Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 19 May 2026 20:16:39 +0200 Subject: [PATCH] Not actually used at the moment --- shell/Commons/Color.qml | 9 ++------- shell/Commons/Style.qml | 5 ----- shell/shell.qml | 6 ------ 3 files changed, 2 insertions(+), 18 deletions(-) diff --git a/shell/Commons/Color.qml b/shell/Commons/Color.qml index 25eba3e8..be83847f 100644 --- a/shell/Commons/Color.qml +++ b/shell/Commons/Color.qml @@ -105,13 +105,8 @@ QtObject { shellValues = parsed } - function reloadTheme() { - colorsFile.reload() - shellFile.reload() - } - - // Startup load plus manual reloadTheme() support. Runtime theme switches - // normally push the payload explicitly through shell IPC. + // Startup load only. Runtime theme switches push the payload explicitly + // through shell IPC. property FileView colorsFile: FileView { id: colorsFile path: Quickshell.env("HOME") + "/.config/omarchy/current/theme/colors.toml" diff --git a/shell/Commons/Style.qml b/shell/Commons/Style.qml index 2752afb5..48f1eb6d 100644 --- a/shell/Commons/Style.qml +++ b/shell/Commons/Style.qml @@ -352,11 +352,6 @@ QtObject { refreshTimer.restart() } - function reloadTheme() { - shellTomlFile.reload() - scheduleRefresh() - } - function applyRoundingJson(raw) { try { var json = JSON.parse(raw || "{}") diff --git a/shell/shell.qml b/shell/shell.qml index 7548e8be..be9c0d97 100644 --- a/shell/shell.qml +++ b/shell/shell.qml @@ -589,12 +589,6 @@ ShellRoot { return "ok" } - function reloadTheme(): string { - NoctaliaCommons.Color.reloadTheme() - NoctaliaCommons.Style.reloadTheme() - return "ok" - } - function rescanPlugins(): void { shell.pluginRegistry.rescan() }