summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/Hypr.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/services/Hypr.qml b/services/Hypr.qml
index a26c24d..86c82f6 100644
--- a/services/Hypr.qml
+++ b/services/Hypr.qml
@@ -75,6 +75,10 @@ Singleton {
dispatch(`workspace ${openSpecials[nextIndex].name}`);
}
+ function monitorNames(): list<string> {
+ return monitors.values.map(e => e.name);
+ }
+
function monitorFor(screen: ShellScreen): HyprlandMonitor {
return Hyprland.monitorFor(screen);
}