diff --git a/zsh/functions.zsh b/zsh/functions.zsh index 680f73d..7080061 100644 --- a/zsh/functions.zsh +++ b/zsh/functions.zsh @@ -128,7 +128,7 @@ if [ $? -eq 0 ]; then music-client() { command=$1 if [ $# -eq 1 ]; then - echo "require('music').execute_command(\"$command\")" + echo "require('music').execute_command(\"$command\")" | awesome-client else library_path=$(realpath $2 | rev | cut -d '/' -f -3 | rev) awesome_command="require('music').execute_command(\"$command\",\"$library_path\")"