feat: add toggle for notifications on device switch and toggle for keybinds in tooltip (#122)

* feat(audio-switcher): add toggle for notifications on device switch

* feat(audio-switcher): add toggle for actions in tooltip and change appearance of tooltip

* chore(audio-switcher): bump version to 0.2.0

* fix(audio-switcher): add missing translation keys
This commit is contained in:
HiImKobeAnd
2026-07-28 21:16:34 -04:00
committed by GitHub
parent cece55ee34
commit d6603f03cf
5 changed files with 55 additions and 9 deletions
+1 -1
View File
@@ -751,7 +751,7 @@ local function setDefaultTarget(command, kind, device)
end
moveStreams(kind, device.targetName, function()
local messageKey = kind == "output" and "notifications.output_selected" or "notifications.input_selected"
finishAction(command, true, noctalia.tr(messageKey, { device = device.name }))
finishAction(command, true, noctalia.tr(messageKey, { device = device.name }), noctalia.getConfig("show_notification_on_switch"))
end)
end)
end