From 70ca3fef77ee8bdc6e3ac28589a6fa08c024cc69 Mon Sep 17 00:00:00 2001 From: AlexanderCurl Date: Sat, 18 Apr 2026 17:46:06 +0100 Subject: Replaced file structures for themes in the correct format --- .../quickshell/Widgets/PluginGlobalVar.qml | 30 ---------------------- 1 file changed, 30 deletions(-) delete mode 100644 raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Widgets/PluginGlobalVar.qml (limited to 'raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Widgets/PluginGlobalVar.qml') diff --git a/raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Widgets/PluginGlobalVar.qml b/raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Widgets/PluginGlobalVar.qml deleted file mode 100644 index 6a95a97..0000000 --- a/raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Widgets/PluginGlobalVar.qml +++ /dev/null @@ -1,30 +0,0 @@ -import QtQuick -import qs.Services - -Item { - id: root - - required property string varName - property var defaultValue: undefined - - readonly property var value: { - const pid = parent?.pluginId ?? "" - if (!pid || !PluginService.globalVars[pid]) { - return defaultValue - } - return PluginService.globalVars[pid][varName] ?? defaultValue - } - - function set(newValue) { - const pid = parent?.pluginId ?? "" - if (pid) { - PluginService.setGlobalVar(pid, varName, newValue) - } else { - console.warn("PluginGlobalVar: Cannot set", varName, "- no pluginId from parent") - } - } - - visible: false - width: 0 - height: 0 -} -- cgit v1.3