summaryrefslogtreecommitdiff
path: root/services/Hypr.qml
diff options
context:
space:
mode:
authorBora Gülerman <49169566+eratoriele@users.noreply.github.com>2026-03-15 10:42:34 +0300
committerGitHub <noreply@github.com>2026-03-15 18:42:34 +1100
commitaea2ac96ef9a6817fe9e81867da202eed4daba90 (patch)
tree8ae741a72e1c6e5dd626c40f23d9d1290effef73 /services/Hypr.qml
parentconfig: don't serialise sizes (diff)
downloadcaelestia-shell-aea2ac96ef9a6817fe9e81867da202eed4daba90.tar.gz
caelestia-shell-aea2ac96ef9a6817fe9e81867da202eed4daba90.tar.bz2
caelestia-shell-aea2ac96ef9a6817fe9e81867da202eed4daba90.zip
controlcenter/taskbar: add excludedScreens (#1215)
also changed controlcenter/components/ConnectedButtonGroup - Changed row layout to grid layout - Added optional prop: row, which defaults to 1 so it looks same as row layout if not given - added new field to options, which bypasses rootItem bind. This is needed because we can not predict the number of monitors the user has, and can not create a seperate variable for each one
Diffstat (limited to 'services/Hypr.qml')
-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);
}