pipewire stuff
This commit is contained in:
parent
fd005e4585
commit
0083bc65b7
6 changed files with 74 additions and 17 deletions
|
@ -1,19 +1,24 @@
|
|||
from i3pystatus import Status
|
||||
|
||||
status = Status(
|
||||
logfile='/tmp/i3pystatus.log',
|
||||
logfile='/dev/stderr',
|
||||
)
|
||||
|
||||
status.register("pulseaudio",
|
||||
format="♪I {volume}%",
|
||||
format_muted="♪I -∞dB",
|
||||
step="2",
|
||||
sink="alsa_output.pci-0000_07_00.6.HiFi__hw_Generic_1__sink")
|
||||
status.register("pulseaudio",
|
||||
format="♪D {volume}%",
|
||||
format_muted="♪D -∞dB",
|
||||
step="2",
|
||||
sink="@DEFAULT_SINK@")
|
||||
#status.register("pulseaudio",
|
||||
# format="♪I {volume}%",
|
||||
# format_muted="♪I -∞dB",
|
||||
# step="2",
|
||||
# sink="alsa_output.pci-0000_07_00.6.HiFi__hw_Generic_1__sink")
|
||||
#status.register("pulseaudio",
|
||||
# format="♪D {volume}%",
|
||||
# format_muted="♪D -∞dB",
|
||||
# step="2",
|
||||
# sink="@DEFAULT_SINK@")
|
||||
|
||||
status.register("shell",
|
||||
format="♪D {output}",
|
||||
command="wpctl get-volume @DEFAULT_AUDIO_SINK@ | cut -d: -f2",
|
||||
interval=1)
|
||||
status.register("shell",
|
||||
format="{output}",
|
||||
hints = {"markup": "pango"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue