-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.py
41 lines (34 loc) · 1.47 KB
/
settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# configure your LaunchPy instance here
from apc import ButtonArea
from plugins.pulse import PlacementMode
import re
# set None to attempt auto-discovery
# you only need to set this explicitly if you have connected more than one APC Mini
# APC_PORT = "APC MINI:APC MINI MIDI 1 20:0"
APC_PORT = None
# will connect to systemd-logind via DBus and turn off the APC before
# the system enters standby; requires dbus_next to be installed via pip
# and will not work on non-systemd distros
ENABLE_STANDBY_SUPPORT = True
PLUGINS = [
("plugins.pulse.PulsePlugin", "Pulse mixer", ButtonArea.MATRIX | ButtonArea.HORIZONTAL),
("plugins.gnome.GnomeWorkspacePlugin", "Gnome workspace switcher", ButtonArea.VERTICAL),
#("plugins.demo.DemoPlugin", "Demo plugin", ButtonArea.MATRIX | ButtonArea.HORIZONTAL),
]
# "False" will assign the faders right-to left (useful if you have the APC to the
# left of your keyboard)
PULSE_SORT_REVERSE = False
PULSE_PLACEMENT_MODE = PlacementMode.FILL
# Normally, mute buttons are lit when unmuted and flashing when muted.
# If that annoys you, you can toggle them to being off when unmuted and
# lit when muted here (this mode more closely reflects the interface of
# other commercial mixers).
PULSE_MUTE_BUTTONS_FLASHING = True
# ignore-lists for sinks, and application names of sink inputs
# (entries can be strings or compiled regex patterns)
PULSE_IGNORE_SINKS = [
"PulseEffects(mic)",
]
PULSE_IGNORE_STREAMS = [
re.compile("^speech-dispatcher-.+"),
]