59 lines
1.4 KiB
TOML
59 lines
1.4 KiB
TOML
id = "blackbartblues/audio-switcher"
|
|
name = "Audio Switcher"
|
|
version = "0.3.0"
|
|
plugin_api = 9
|
|
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
|
|
|
|
[[setting]]
|
|
key = "scroll_step"
|
|
type = "int"
|
|
label_key = "settings.scroll_step.label"
|
|
description_key = "settings.scroll_step.description"
|
|
default = 5
|
|
min = 1
|
|
max = 25
|
|
step = 1
|
|
|
|
[[widget]]
|
|
id = "widget"
|
|
entry = "widget.luau"
|
|
|
|
[[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"
|