summaryrefslogtreecommitdiff
path: root/services/Hyprland.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-30 17:28:30 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-30 17:28:30 +1000
commit81055262d2cc6b762fa48772b7462d3e79e0f084 (patch)
tree5e67357a86cb45f6850e6eda695e411c9f9567bf /services/Hyprland.qml
parentbar: animate bluetooth devices (diff)
downloadcaelestia-shell-81055262d2cc6b762fa48772b7462d3e79e0f084.tar.gz
caelestia-shell-81055262d2cc6b762fa48772b7462d3e79e0f084.tar.bz2
caelestia-shell-81055262d2cc6b762fa48772b7462d3e79e0f084.zip
bluetooth: lazy update devices
Diffstat (limited to 'services/Hyprland.qml')
-rw-r--r--services/Hyprland.qml28
1 files changed, 14 insertions, 14 deletions
diff --git a/services/Hyprland.qml b/services/Hyprland.qml
index 286bee3..481ee7c 100644
--- a/services/Hyprland.qml
+++ b/services/Hyprland.qml
@@ -82,20 +82,20 @@ Singleton {
component Client: QtObject {
required property var lastIpcObject
- property string address: lastIpcObject.address
- property string wmClass: lastIpcObject.class
- property string title: lastIpcObject.title
- property string initialClass: lastIpcObject.initialClass
- property string initialTitle: lastIpcObject.initialTitle
- property int x: lastIpcObject.at[0]
- property int y: lastIpcObject.at[1]
- property int width: lastIpcObject.size[0]
- property int height: lastIpcObject.size[1]
- property HyprlandWorkspace workspace: Hyprland.workspaces.values.find(w => w.id === lastIpcObject.workspace.id) ?? null
- property bool floating: lastIpcObject.floating
- property bool fullscreen: lastIpcObject.fullscreen
- property int pid: lastIpcObject.pid
- property int focusHistoryId: lastIpcObject.focusHistoryID
+ readonly property string address: lastIpcObject.address
+ readonly property string wmClass: lastIpcObject.class
+ readonly property string title: lastIpcObject.title
+ readonly property string initialClass: lastIpcObject.initialClass
+ readonly property string initialTitle: lastIpcObject.initialTitle
+ readonly property int x: lastIpcObject.at[0]
+ readonly property int y: lastIpcObject.at[1]
+ readonly property int width: lastIpcObject.size[0]
+ readonly property int height: lastIpcObject.size[1]
+ readonly property HyprlandWorkspace workspace: Hyprland.workspaces.values.find(w => w.id === lastIpcObject.workspace.id) ?? null
+ readonly property bool floating: lastIpcObject.floating
+ readonly property bool fullscreen: lastIpcObject.fullscreen
+ readonly property int pid: lastIpcObject.pid
+ readonly property int focusHistoryId: lastIpcObject.focusHistoryID
}
Component {