diff options
author | Richard Hartmann <RichiH@users.noreply.github.com> | 2017-04-26 15:00:57 +0200 |
---|---|---|
committer | Michał Cichoń <michcic@gmail.com> | 2017-05-17 04:37:39 +0200 |
commit | aa2d42f83607d7eae63cc7d860b919e60e1defd8 (patch) | |
tree | 09155d6ee00b8091170cc3621dbc0f9f08b18853 /contrib/eventcmd-examples | |
parent | 573613e834a0538a3ce8b950cbad7cd11e180723 (diff) | |
download | pianobar-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-x | contrib/eventcmd-examples/eventcmd.sh | 2 |
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 |