[polybar] Display the default audio sink

This commit is contained in:
Sebastian Schulze 2019-03-26 17:44:30 +01:00
parent f1f82974ee
commit e4e963f1c3
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
1 changed files with 3 additions and 1 deletions

View File

@ -12,10 +12,12 @@ fi;
export WINDOW_MODULE
export WS_LABEL
# Check if we're docked in
export BAR_PA_SINK=$(pactl info |grep -oP "^Default Sink: \K.*")
if [[ $HOSTNAME == "zog"* ]]; then
export BAR_ETH_INTERFACE=eno1
export BAR_MODULES="mpd volume memory eth temperature date"
export BAR_PA_SINK="alsa_output.pci-0000_00_1b.0.analog-stereo"
polybar secondary &
fi;