Not actually used at the moment
This commit is contained in:
@@ -105,13 +105,8 @@ QtObject {
|
|||||||
shellValues = parsed
|
shellValues = parsed
|
||||||
}
|
}
|
||||||
|
|
||||||
function reloadTheme() {
|
// Startup load only. Runtime theme switches push the payload explicitly
|
||||||
colorsFile.reload()
|
// through shell IPC.
|
||||||
shellFile.reload()
|
|
||||||
}
|
|
||||||
|
|
||||||
// Startup load plus manual reloadTheme() support. Runtime theme switches
|
|
||||||
// normally push the payload explicitly through shell IPC.
|
|
||||||
property FileView colorsFile: FileView {
|
property FileView colorsFile: FileView {
|
||||||
id: colorsFile
|
id: colorsFile
|
||||||
path: Quickshell.env("HOME") + "/.config/omarchy/current/theme/colors.toml"
|
path: Quickshell.env("HOME") + "/.config/omarchy/current/theme/colors.toml"
|
||||||
|
|||||||
@@ -352,11 +352,6 @@ QtObject {
|
|||||||
refreshTimer.restart()
|
refreshTimer.restart()
|
||||||
}
|
}
|
||||||
|
|
||||||
function reloadTheme() {
|
|
||||||
shellTomlFile.reload()
|
|
||||||
scheduleRefresh()
|
|
||||||
}
|
|
||||||
|
|
||||||
function applyRoundingJson(raw) {
|
function applyRoundingJson(raw) {
|
||||||
try {
|
try {
|
||||||
var json = JSON.parse(raw || "{}")
|
var json = JSON.parse(raw || "{}")
|
||||||
|
|||||||
@@ -589,12 +589,6 @@ ShellRoot {
|
|||||||
return "ok"
|
return "ok"
|
||||||
}
|
}
|
||||||
|
|
||||||
function reloadTheme(): string {
|
|
||||||
NoctaliaCommons.Color.reloadTheme()
|
|
||||||
NoctaliaCommons.Style.reloadTheme()
|
|
||||||
return "ok"
|
|
||||||
}
|
|
||||||
|
|
||||||
function rescanPlugins(): void {
|
function rescanPlugins(): void {
|
||||||
shell.pluginRegistry.rescan()
|
shell.pluginRegistry.rescan()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user