mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-29 16:02:51 -05:00
add brightness and micmute OSDs, fix audio tab bug
This commit is contained in:
@@ -13,6 +13,7 @@ Singleton {
|
||||
readonly property PwNode source: Pipewire.defaultAudioSource
|
||||
|
||||
signal volumeChanged()
|
||||
signal micMuteChanged()
|
||||
|
||||
function displayName(node) {
|
||||
if (!node) return ""
|
||||
@@ -137,7 +138,9 @@ Singleton {
|
||||
}
|
||||
|
||||
function mute(): string {
|
||||
return root.toggleMute();
|
||||
const result = root.toggleMute();
|
||||
root.volumeChanged();
|
||||
return result;
|
||||
}
|
||||
|
||||
function setmic(percentage: string): string {
|
||||
@@ -145,7 +148,9 @@ Singleton {
|
||||
}
|
||||
|
||||
function micmute(): string {
|
||||
return root.toggleMicMute();
|
||||
const result = root.toggleMicMute();
|
||||
root.micMuteChanged();
|
||||
return result;
|
||||
}
|
||||
|
||||
function status(): string {
|
||||
|
||||
Reference in New Issue
Block a user