summaryrefslogtreecommitdiff
path: root/contrib/eventcmd-examples
diff options
context:
space:
mode:
authorRichard Hartmann <RichiH@users.noreply.github.com>2017-04-26 15:00:57 +0200
committerMichał Cichoń <michcic@gmail.com>2017-05-17 04:37:39 +0200
commitaa2d42f83607d7eae63cc7d860b919e60e1defd8 (patch)
tree09155d6ee00b8091170cc3621dbc0f9f08b18853 /contrib/eventcmd-examples
parent573613e834a0538a3ce8b950cbad7cd11e180723 (diff)
downloadpianobar-windows-aa2d42f83607d7eae63cc7d860b919e60e1defd8.tar.gz
pianobar-windows-aa2d42f83607d7eae63cc7d860b919e60e1defd8.tar.bz2
pianobar-windows-aa2d42f83607d7eae63cc7d860b919e60e1defd8.zip
eventcmd.sh: Guard against spaces in path
Diffstat (limited to 'contrib/eventcmd-examples')
-rwxr-xr-xcontrib/eventcmd-examples/eventcmd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/eventcmd-examples/eventcmd.sh b/contrib/eventcmd-examples/eventcmd.sh
index f07cb7d..233b52e 100755
--- a/contrib/eventcmd-examples/eventcmd.sh
+++ b/contrib/eventcmd-examples/eventcmd.sh
@@ -11,7 +11,7 @@ case "$1" in
# songstart)
# echo 'naughty.notify({title = "pianobar", text = "Now playing: ' "$title" ' by ' "$artist" '"})' | awesome-client -
-# echo "$title -- $artist" > ${XDG_HOME_CONFIG:-${HOME}/.config}/pianobar/nowplaying
+# echo "$title -- $artist" > "${XDG_HOME_CONFIG:-${HOME}/.config}/pianobar/nowplaying"
# if [ "$rating" -eq 1 ]
# then