Compare commits

..

2 Commits

Author SHA1 Message Date
3ed0bb20f2 made logout menu only open on current monitor 2026-08-19 10:50:23 +01:00
67fd900a27 fixed weird cutoff on bigger monitors 2026-08-19 10:46:20 +01:00
2 changed files with 5 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ Scope {
id: win id: win
property double barExclusionZone: 15 property double barExclusionZone: 15
property double barMaxHeight: 1000 property double barMaxHeight: modelData.height
required property var modelData required property var modelData
property HyprlandMonitor monitor: Hyprland.monitorFor(modelData) property HyprlandMonitor monitor: Hyprland.monitorFor(modelData)

View File

@@ -107,8 +107,10 @@ Container {
} }
function onLogoutMenu() { function onLogoutMenu() {
root.overriden = true; if (root.monitor.focused == true) {
root.logout = true; root.overriden = true;
root.logout = true;
}
} }
target: IpcManager target: IpcManager