mute source audio

This commit is contained in:
Zacharias-Brohn
2026-02-09 22:23:53 +01:00
parent 5c64cc0bb9
commit 144d763c67
11 changed files with 414 additions and 110 deletions
+6 -2
View File
@@ -18,6 +18,7 @@ RowLayout {
required property Wrapper popouts
required property PersistentProperties visibilities
required property PanelWindow bar
required property ShellScreen screen
function checkPopout(x: real): void {
const ch = childAt(x, height / 2) as WrappedLoader;
@@ -60,7 +61,7 @@ RowLayout {
// popouts.currentName = "calendar";
// popouts.currentCenter = Qt.binding( () => item.mapToItem( root, itemWidth / 2, 0 ).x );
// popouts.hasCurrent = true;
} else if ( x > (root.width / 2 + 50) && x < (root.width / 2 - 50) && Config.barConfig.popouts.activeWindow ) {
} else if ( id === "activeWindow" && Config.barConfig.popouts.activeWindow ) {
popouts.currentName = "dash";
popouts.currentCenter = root.width / 2;
popouts.hasCurrent = true;
@@ -153,7 +154,10 @@ RowLayout {
DelegateChoice {
roleValue: "activeWindow"
delegate: WrappedLoader {
sourceComponent: WindowTitle {}
sourceComponent: WindowTitle {
bar: root
monitor: Brightness.getMonitorForScreen(root.screen)
}
}
}
}