From c4be0fe3c58fe07e235f624974b4f8102a17ecca Mon Sep 17 00:00:00 2001 From: 0scar Date: Wed, 21 Oct 2020 17:51:56 +0200 Subject: Add some neat scripts --- .scripts/select-sink | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 .scripts/select-sink (limited to '.scripts/select-sink') diff --git a/.scripts/select-sink b/.scripts/select-sink new file mode 100755 index 0000000..019da37 --- /dev/null +++ b/.scripts/select-sink @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +pactl set-default-sink $(pactl list sinks | grep -B 1 "$(pactl list sinks | awk '/Description/{$1="";print $0;}' | dmenu)" | awk '/Name/{print $2}') +kill -10 $(pidof dwmblocks) -- cgit v1.3