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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user