From 780f92ff39dadc6092317614c46f8de5a89e6ee8 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Fri, 20 Oct 2017 11:39:35 +0200 Subject: [PATCH] Piping to awesome-client is better... --- zsh/functions.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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\")"