Skip to content

Instantly share code, notes, and snippets.

@winny-
Last active Aug 20, 2020
Embed
What would you like to do?
#!/bin/sh
# 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