better ddcutil handling, revert to using onMoved brightness slider, fix osd region

This commit is contained in:
2026-07-08 16:17:37 +02:00
parent 1cbe9a9f8a
commit b19b630a77
9 changed files with 31 additions and 80 deletions
-11
View File
@@ -311,17 +311,6 @@ Item {
}
}
function onUtilitiesChanged() {
if (root.visibilities.utilities) {
const inUtilitiesArea = root.inBottomPanel(root.panels.utilities, root.mouseX, root.mouseY);
if (!inUtilitiesArea) {
root.utilitiesShortcutActive = true;
}
} else {
root.utilitiesShortcutActive = false;
}
}
target: root.visibilities
}
}
-1
View File
@@ -38,7 +38,6 @@ Region {
R {
panel: root.panels.osdWrapper
width: panel.width * (1 - root.panels.osd.offsetScale) + root.borderThickness
x: root.win.width - width
}
R {
+1 -9
View File
@@ -26,7 +26,7 @@ CustomWindow {
if (focusGrab.active)
return 0;
if (monitor?.lastIpcObject.specialWorkspace?.name || monitor?.activeWorkspace.lastIpcObject.windows > 0)
if (monitor?.lastIpcObject.specialWorkspace?.name || monitor?.activeWorkspace?.lastIpcObject.windows > 0)
return 0;
return 100;
@@ -162,14 +162,6 @@ CustomWindow {
Component.onCompleted: Visibilities.load(root.screen, this)
}
IpcHandler {
function toggleLauncher(fix: string): void {
visibilities.launcher = !visibilities.launcher;
}
target: "visibilities"
}
Binding {
property: "bar"
target: visibilities