summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <56338480+adastx@users.noreply.github.com>2022-10-09 18:31:31 +0200
committeradam <56338480+adastx@users.noreply.github.com>2022-10-09 18:31:31 +0200
commitc725dbf2d99f3557e660c20e74452fb2864fdc53 (patch)
tree24a18a9443e3afeabb83161c7248b8f26c1f2cb5
parentf1a440a4c2da8150b85b88e6f22e7db6afb81c74 (diff)
scripts: minor cleanup in 'pashare'
-rwxr-xr-x.local/bin/pashare4
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 \