From c725dbf2d99f3557e660c20e74452fb2864fdc53 Mon Sep 17 00:00:00 2001 From: adam <56338480+adastx@users.noreply.github.com> Date: Sun, 9 Oct 2022 18:31:31 +0200 Subject: scripts: minor cleanup in 'pashare' --- .local/bin/pashare | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/bin/pashare b/.local/bin/pashare index 8413c73..6fe8f25 100755 --- a/.local/bin/pashare +++ b/.local/bin/pashare @@ -10,7 +10,7 @@ main () { stop) stop ;; *) - echo "usage: pashare [start|stop]" >&2 + echo "usage: pashare [start|stop]" ;; esac } @@ -18,7 +18,7 @@ main () { start () { stop &>/dev/null - DEST=$(cat $XDG_CONFIG_HOME/pashare/dest) + DEST=$(<$XDG_CONFIG_HOME/pashare/dest) pactl load-module module-null-sink \ sink_name=rtp \ -- cgit v1.2.3-70-g09d2