diff --git a/quickshell/Modules/OSD/BrightnessOSD.qml b/quickshell/Modules/OSD/BrightnessOSD.qml index 5ac62c973..0cf895956 100644 --- a/quickshell/Modules/OSD/BrightnessOSD.qml +++ b/quickshell/Modules/OSD/BrightnessOSD.qml @@ -42,6 +42,11 @@ DankOSD { width: parent.width - Theme.spacingS * 2 height: 40 + MouseArea { + anchors.fill: parent + onClicked: root.hide() + } + Rectangle { width: Theme.iconSize height: Theme.iconSize @@ -125,6 +130,11 @@ DankOSD { anchors.fill: parent property int gap: Theme.spacingS + MouseArea { + anchors.fill: parent + onClicked: root.hide() + } + Rectangle { width: Theme.iconSize height: Theme.iconSize diff --git a/quickshell/Modules/OSD/MediaVolumeOSD.qml b/quickshell/Modules/OSD/MediaVolumeOSD.qml index a2e272d07..c515f69d3 100644 --- a/quickshell/Modules/OSD/MediaVolumeOSD.qml +++ b/quickshell/Modules/OSD/MediaVolumeOSD.qml @@ -81,6 +81,11 @@ DankOSD { width: parent.width - Theme.spacingS * 2 height: 40 + MouseArea { + anchors.fill: parent + onClicked: root.hide() + } + Rectangle { width: Theme.iconSize height: Theme.iconSize @@ -147,6 +152,11 @@ DankOSD { anchors.fill: parent property int gap: Theme.spacingS + MouseArea { + anchors.fill: parent + onClicked: root.hide() + } + Rectangle { width: Theme.iconSize height: Theme.iconSize diff --git a/quickshell/Modules/OSD/MicVolumeOSD.qml b/quickshell/Modules/OSD/MicVolumeOSD.qml index 8939826a2..5064b6d7a 100644 --- a/quickshell/Modules/OSD/MicVolumeOSD.qml +++ b/quickshell/Modules/OSD/MicVolumeOSD.qml @@ -65,6 +65,11 @@ DankOSD { width: parent.width - Theme.spacingS * 2 height: 40 + MouseArea { + anchors.fill: parent + onClicked: root.hide() + } + Rectangle { width: Theme.iconSize height: Theme.iconSize @@ -137,6 +142,11 @@ DankOSD { anchors.fill: parent property int gap: Theme.spacingS + MouseArea { + anchors.fill: parent + onClicked: root.hide() + } + Rectangle { width: Theme.iconSize height: Theme.iconSize diff --git a/quickshell/Modules/OSD/VolumeOSD.qml b/quickshell/Modules/OSD/VolumeOSD.qml index 9504f3b5b..5a71917b3 100644 --- a/quickshell/Modules/OSD/VolumeOSD.qml +++ b/quickshell/Modules/OSD/VolumeOSD.qml @@ -60,6 +60,11 @@ DankOSD { width: parent.width - Theme.spacingS * 2 height: 40 + MouseArea { + anchors.fill: parent + onClicked: root.hide() + } + Rectangle { width: Theme.iconSize height: Theme.iconSize @@ -132,6 +137,11 @@ DankOSD { anchors.fill: parent property int gap: Theme.spacingS + MouseArea { + anchors.fill: parent + onClicked: root.hide() + } + Rectangle { width: Theme.iconSize height: Theme.iconSize