diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-07-11 21:49:53 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-07-11 21:49:53 +0800 |
| commit | 0e4bdc7ed815ef389d9ca95fc4865f46701b1aaf (patch) | |
| tree | 09c5e1609a4e3526416ae6bd294fb003d58ec70a /services | |
| parent | bf44811dced54246317c51183b2c77b551fafb79 (diff) | |
activewindow
Diffstat (limited to 'services')
| -rw-r--r-- | services/SHyprland.qml | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/services/SHyprland.qml b/services/SHyprland.qml deleted file mode 100644 index dfbc874..0000000 --- a/services/SHyprland.qml +++ /dev/null @@ -1,38 +0,0 @@ -pragma Singleton - -import Quickshell -import Quickshell.Hyprland -import QtQuick -import qs.config - -Singleton { - id: root - - readonly property var toplevels: Hyprland.toplevels - readonly property var workspaces: Hyprland.workspaces - readonly property var monitors: Hyprland.monitors - property var ws: ObjectModel - // readonly property HyprlandToplevel activeToplevel: Hyprland.activeToplevel - readonly property HyprlandWorkspace focusedWorkspace: Hyprland.focusedWorkspace - readonly property HyprlandMonitor focusedMonitor: Hyprland.focusedMonitor - - function dispatch(request: string): void { - Hyprland.dispatch(request); - } - - Connections { - target: Hyprland - - function onRawEvent(event: HyprlandEvent): void { - if (event.name.endsWith("v2")) - return; - - if (event.name.includes("mon")) - Hyprland.refreshMonitors(); - else if (event.name.includes("workspace")) - Hyprland.refreshWorkspaces(); - // else - // Hyprland.refreshToplevels(); - } - } -} |
