qs: add TempNotification

This commit is contained in:
2026-04-20 17:49:13 +02:00
parent 8562298d83
commit 266ea92f4a
8 changed files with 168 additions and 16 deletions
@@ -633,4 +633,20 @@ Singleton {
}
Pipewire.preferredDefaultAudioSource = newSource;
}
onMutedChanged: {
if (root.muted) {
TempNotificationService.showWithIcon("volume-mute", "Muted");
} else {
TempNotificationService.showWithIcon(root.getOutputIcon(), Math.round(root.volume * 100) + "%");
}
}
onInputMutedChanged: {
if (root.inputMuted) {
TempNotificationService.showWithIcon("microphone-mute", "Input Muted");
} else {
TempNotificationService.showWithIcon("microphone", "Input Unmuted");
}
}
}