Not actually used at the moment
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -352,11 +352,6 @@ QtObject {
|
||||
refreshTimer.restart()
|
||||
}
|
||||
|
||||
function reloadTheme() {
|
||||
shellTomlFile.reload()
|
||||
scheduleRefresh()
|
||||
}
|
||||
|
||||
function applyRoundingJson(raw) {
|
||||
try {
|
||||
var json = JSON.parse(raw || "{}")
|
||||
|
||||
@@ -589,12 +589,6 @@ ShellRoot {
|
||||
return "ok"
|
||||
}
|
||||
|
||||
function reloadTheme(): string {
|
||||
NoctaliaCommons.Color.reloadTheme()
|
||||
NoctaliaCommons.Style.reloadTheme()
|
||||
return "ok"
|
||||
}
|
||||
|
||||
function rescanPlugins(): void {
|
||||
shell.pluginRegistry.rescan()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user