summaryrefslogtreecommitdiff
path: root/modules/osd/Wrapper.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-27 15:52:18 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-27 15:52:18 +1000
commit4b9643a80229ecf0cf7e82c67124870fe95198f6 (patch)
tree41ef9ed884641dba2346c8ac400e0fc921555a7f /modules/osd/Wrapper.qml
parentconfig: allow enable/disable osd brightness (#481) (diff)
downloadcaelestia-shell-4b9643a80229ecf0cf7e82c67124870fe95198f6.tar.gz
caelestia-shell-4b9643a80229ecf0cf7e82c67124870fe95198f6.tar.bz2
caelestia-shell-4b9643a80229ecf0cf7e82c67124870fe95198f6.zip
osd: add mic volume
Disabled by default
Diffstat (limited to 'modules/osd/Wrapper.qml')
-rw-r--r--modules/osd/Wrapper.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/osd/Wrapper.qml b/modules/osd/Wrapper.qml
index c1e96d6..62d8c4f 100644
--- a/modules/osd/Wrapper.qml
+++ b/modules/osd/Wrapper.qml
@@ -8,7 +8,7 @@ Item {
id: root
required property ShellScreen screen
- required property bool visibility
+ required property var visibilities
visible: width > 0
implicitWidth: 0
@@ -16,7 +16,7 @@ Item {
states: State {
name: "visible"
- when: root.visibility && Config.osd.enabled
+ when: root.visibilities.osd && Config.osd.enabled
PropertyChanges {
root.implicitWidth: content.implicitWidth
@@ -50,5 +50,6 @@ Item {
id: content
monitor: Brightness.getMonitorForScreen(root.screen)
+ visibilities: root.visibilities
}
}