6 lines
224 B
Bash
Executable File
6 lines
224 B
Bash
Executable File
#!/bin/bash
|
|
|
|
choice=$(pactl list short sinks | awk '{print $2}' | dmenu -i -p "which source should be default?")
|
|
|
|
rm /tmp/pactl-default-source --force # to ignore if it isn't there
|
|
echo "$choice" >> /tmp/pactl-default-source |