diff options
-rwxr-xr-x | .local/bin/pashare | 4 |
1 files 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 \ |