z_mirror/dotfiles
git clone https://git.raiguard.me/z_mirror/dotfiles
897abd7
uraya-alpine
1#!/bin/sh 2 3pactl load-module module-null-sink sink_name=chat sink_properties=device.description='Chat' 4pactl load-module module-null-sink sink_name=desktop sink_properties=device.description='Desktop' 5pactl load-module module-null-sink sink_name=music sink_properties=device.description='Music' 6 7# spotify_id=$(pactl -f json list sink-inputs | jq -r '.[] | select(.properties["application.name"]=="spotify") | .index') 8# if [ -n "$spotify_id" ]; then 9# pactl move-sink-input $spotify_id music 10# fi 11 12/usr/bin/obs "$@" 13 14pactl unload-module module-null-sink