From 312d0abe544b5e968fd8215f55c3fe7dfbd5318d Mon Sep 17 00:00:00 2001 From: MoritzBoehme Date: Fri, 15 Oct 2021 14:35:52 +0200 Subject: [PATCH] fixed script --- bin/cycle_sinks.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/cycle_sinks.sh b/bin/cycle_sinks.sh index 1e0f6f6..46469e2 100755 --- a/bin/cycle_sinks.sh +++ b/bin/cycle_sinks.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env nix-shell +#! nix-shell -p pulseaudio -i bash # get the default sink default_sink="$(pactl info | grep -e "Default Sink:" | awk '{print $3}')"