Files
community-plugins/audio-switcher/plugin.toml
T
a4664d0291 fix(audio-switcher): fix an error printed to logs and change widget color to default (#149)
* fix(audio-switcher): remove json decode which parsed a table

* fix(audio-switcher): use default widget coloring

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

* fix(audio-switcher): parse pactl volume output safely

---------

Co-authored-by: WojciechSulocki-Gif <wojciechsulocki@gmail.com>
2026-07-29 15:48:20 -04:00

59 lines
1.4 KiB
TOML

id = "blackbartblues/audio-switcher"
name = "Audio Switcher"
version = "0.2.1"
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"