Skip to content

Instantly share code, notes, and snippets.

@vansoest
Created January 28, 2016 12:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vansoest/fb29a45446292519817a to your computer and use it in GitHub Desktop.
Save vansoest/fb29a45446292519817a to your computer and use it in GitHub Desktop.
Starts pavucontrol for an external pulseaudio-service(tank) and sets the window-title.
#/bin/bash
export PULSE_SERVER=tank
exec pavucontrol &
pid=$!
sleep 1
xdotool search --all --pid $pid --class "pavucontrol" set_window --name "[tank] pavucontrol"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment