* refactor(audio-switcher): remove unused translation key * feat(audio-switcher)!: migrate scroll handling to widget actions * feat(audio-switcher): migrate click handling to widget actions * refactor(audio-switcher): migrate to openSettings * fix(audio-switcher): fix incorrect mute status check for input and output
56 lines
1.5 KiB
TOML
56 lines
1.5 KiB
TOML
id = "blackbartblues/audio-switcher"
|
|
name = "Audio Switcher"
|
|
version = "0.4.0"
|
|
plugin_api = 15
|
|
author = "blackbartblues"
|
|
license = "MIT"
|
|
icon = "switch-horizontal"
|
|
description = "Switch audio inputs and outputs, hand off Bluetooth devices, and control them from compositor keybinds."
|
|
tags = ["audio", "bar", "hardware", "panel", "service", "system", "utility"]
|
|
dependencies = ["pactl", "bluetoothctl", "sleep"]
|
|
|
|
[[setting]]
|
|
key = "show_percentage"
|
|
type = "bool"
|
|
label_key = "settings.show_percentage.label"
|
|
description_key = "settings.show_percentage.description"
|
|
default = true
|
|
|
|
[[setting]]
|
|
key = "show_notification_on_switch"
|
|
type = "bool"
|
|
label_key = "settings.show_notification_on_switch.label"
|
|
description_key = "settings.show_notification_on_switch.description"
|
|
default = true
|
|
|
|
[[setting]]
|
|
key = "show_actions_in_tooltip"
|
|
type = "bool"
|
|
label_key = "settings.show_actions_in_tooltip.label"
|
|
description_key = "settings.show_actions_in_tooltip.description"
|
|
default = true
|
|
|
|
[[widget]]
|
|
id = "widget"
|
|
entry = "widget.luau"
|
|
|
|
[widget.actions]
|
|
scroll_up = "volume-up"
|
|
scroll_down = "volume-down"
|
|
left = "panel-toggle blackbartblues/audio-switcher:audio-switcher"
|
|
right = "plugin blackbartblues/audio-switcher:service all cycle-output"
|
|
middle = "plugin blackbartblues/audio-switcher:service all cycle-input"
|
|
|
|
[[panel]]
|
|
id = "audio-switcher"
|
|
entry = "panel.luau"
|
|
width = 620
|
|
height = 650
|
|
placement = "attached"
|
|
position = "top_right"
|
|
open_near_click = true
|
|
|
|
[[service]]
|
|
id = "service"
|
|
entry = "service.luau"
|