Skip to content

Instantly share code, notes, and snippets.

Last active Aug 20, 2020
What would you like to do?
# Try to reset pulseaudio after suspend.
# Todo: fix resume to not require this.
set -u
pulseaudio -k
pulseaudio --daemon
pkill -SIGHUP xfce4-panel
#!/usr/bin/env bash
set -eu
newSink="$(pactl list sinks short | cut -f2 | rofi -dmenu)"
switch-sink "$newSink"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment