62 lines
1.2 KiB
TOML
62 lines
1.2 KiB
TOML
schema_version = 1
|
|
id = "desktop"
|
|
startup = "adopt"
|
|
new_stream = "adopt"
|
|
|
|
[ui]
|
|
default_controller = "desk-left"
|
|
theme = "default"
|
|
status_display = "detailed"
|
|
|
|
[runtime]
|
|
poll_interval_ms = 10
|
|
|
|
[audio]
|
|
adapter = "auto"
|
|
preference = ["pulse", "pipewire"]
|
|
max_gain = 1.0
|
|
|
|
[[applications]]
|
|
id = "music"
|
|
label = "Music"
|
|
selectors = [{ field = "application.name", exact = "Music Player" }]
|
|
|
|
[[applications]]
|
|
id = "browser"
|
|
label = "Browser"
|
|
selectors = [{ field = "application.process.binary", regex = '^(firefox|chromium)$' }]
|
|
|
|
[[groups]]
|
|
id = "media"
|
|
label = "Media"
|
|
members = ["music", "browser"]
|
|
volume_mode = "absolute"
|
|
|
|
[[surfaces]]
|
|
id = "desk-left"
|
|
label = "Left controller"
|
|
input_port = "Example Controller MIDI 1"
|
|
output_port = "Example Controller MIDI 1"
|
|
identity_policy = "require_unique"
|
|
motorized = false
|
|
|
|
[[faders]]
|
|
id = "media-fader"
|
|
target = { kind = "group", id = "media" }
|
|
pickup = true
|
|
pickup_tolerance = 0.02
|
|
|
|
[[bindings]]
|
|
surface = "desk-left"
|
|
fader = "media-fader"
|
|
action = "volume"
|
|
message = { kind = "cc", channel = 1, number = 0 }
|
|
|
|
[[bindings]]
|
|
surface = "desk-left"
|
|
fader = "media-fader"
|
|
action = "toggle_mute"
|
|
edge = "press"
|
|
message = { kind = "note", channel = 1, number = 32 }
|
|
feedback = { kind = "note", channel = 1, number = 32, on = 127, off = 0 }
|