summaryrefslogtreecommitdiff
path: root/.local/bin/pashare
diff options
context:
space:
mode:
authoradam <56338480+adastx@users.noreply.github.com>2022-11-04 21:43:06 +0100
committeradam <56338480+adastx@users.noreply.github.com>2022-11-04 21:43:06 +0100
commit767c0821ee0a1ad893efe9b5bc8e84f5629f8416 (patch)
treeb3b8b619dd99f020f41f54fa1186421901d78fd0 /.local/bin/pashare
parentbb2359c30f8ade19fc7e60ab825d2744d0c04fcf (diff)
scripts: removed bashisms
Diffstat (limited to '.local/bin/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 a13c25e..0e6d885 100755
--- a/.local/bin/pashare
+++ b/.local/bin/pashare
@@ -15,9 +15,9 @@ main () {
}
start () {
- stop &>/dev/null
+ stop >/dev/null 2>&1
- DEST=$(<$XDG_CONFIG_HOME/pashare/dest)
+ DEST=$(cat $XDG_CONFIG_HOME/pashare/dest)
pactl load-module module-null-sink \
sink_name=rtp \