diff --git a/home/i3status-rust.nix b/home/i3status-rust.nix index 927c584..6ff3188 100644 --- a/home/i3status-rust.nix +++ b/home/i3status-rust.nix @@ -12,6 +12,7 @@ "alsa_output.pci-0000_51_00.1.hdmi-stereo" = ""; "alsa_output.pci-0000_51_00.1.hdmi-stereo.2" = ""; "bluez_output.14_3F_A6_28_DC_51.1" = ""; + "alsa_output.pci-0000_51_00.1.hdmi-stereo-extra3" = "🍿"; "bluez_output.DC_69_E2_9A_6E_30.1" = ""; "bluez_sink.DC_69_E2_9A_6E_30.handsfree_head_unit" = ""; "bluez_input.DC:69:E2:9A:6E:30" = ""; diff --git a/home/scripts/scripts/sound-switcher-boar.sh b/home/scripts/scripts/sound-switcher-boar.sh index c0da883..e4a8d75 100644 --- a/home/scripts/scripts/sound-switcher-boar.sh +++ b/home/scripts/scripts/sound-switcher-boar.sh @@ -3,6 +3,7 @@ set -euo pipefail chosen="$(echo -e "🎧oh\n\ 🔊creative\n\ 🎧sony\n\ +🍿movie\n\  buds(listen)\n\  buds(talk)\n\ 📢boombox\n\ @@ -28,6 +29,16 @@ creative() { localmike } +movie() { + local card_name_pattern="51_00" + local sink="alsa_output.pci-0000_51_00.1.hdmi-stereo-extra3" + local card_profile="output:hdmi-stereo-extra3" + + set_default_sink "$card_name_pattern" "$sink" "$card_profile" + + localmike +} + boombox() { local card_name_pattern="04_21" local sink="bluez_sink.04_21_44_B6_92_39.a2dp_sink" @@ -139,6 +150,7 @@ case "$chosen" in 🎧oh) oh ;; 🔊creative) creative ;; 🎧sony) sony ;; +🍿movie) movie ;; " buds(listen)") budslisten ;; " buds(talk)") budstalk ;; 📢boombox) boombox ;;