From f734b5a441a15ef55c7d28f0007f0cca36a57191 Mon Sep 17 00:00:00 2001 From: adam <56338480+adastx@users.noreply.github.com> Date: Tue, 8 Nov 2022 16:29:27 +0100 Subject: scripts: minor cleanup --- .local/bin/pashare | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.local/bin/pashare') diff --git a/.local/bin/pashare b/.local/bin/pashare index 0e6d885..8ce0170 100755 --- a/.local/bin/pashare +++ b/.local/bin/pashare @@ -17,7 +17,7 @@ main () { start () { stop >/dev/null 2>&1 - DEST=$(cat $XDG_CONFIG_HOME/pashare/dest) + DEST=$(cat "$XDG_CONFIG_HOME/pashare/dest") pactl load-module module-null-sink \ sink_name=rtp \ @@ -26,7 +26,8 @@ start () { channels=2 \ rate=48000 >/dev/null - pactl load-module module-rtp-send source=rtp.monitor destination=$DEST port=4010 mtu=320 >/dev/null + pactl load-module module-rtp-send source=rtp.monitor destination="$DEST" \ + port=4010 mtu=320 >/dev/null } stop () { -- cgit v1.2.3-70-g09d2