It is recommended that you use the nix-shell
to obtain the needed
dependencies. Otherwise, refer to Gio's instructions.
After that, build this like a regular Go program:
go build
First, list all devices:
―❤―▶ ./catnip-gio -l
pipewire:
- alsa_output.pci-0000_03_00.1.hdmi-stereo-extra4
- alsa_output.pci-0000_0d_00.6.analog-stereo
- easyeffects_sink
- Firefox
- io.github.celluloid_player.Celluloid
Then, pick the device:
―❤―▶ ./catnip-gio -b pipewire -d easyeffects_sink
For more configurations, see -h
.