From 2d7db565273e7c206b030977e63d5ceebb9ba277 Mon Sep 17 00:00:00 2001 From: meliurwen Date: Wed, 24 Nov 2021 06:38:58 +0100 Subject: [PATCH] Replaced \dev\null to /dev/null introduced in the last fix --- polybar/.config/polybar/scripts/mpv.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polybar/.config/polybar/scripts/mpv.sh b/polybar/.config/polybar/scripts/mpv.sh index 0a14afa..04692c7 100755 --- a/polybar/.config/polybar/scripts/mpv.sh +++ b/polybar/.config/polybar/scripts/mpv.sh @@ -27,7 +27,7 @@ if pgrep -u "$(id -u)" -x mpv > /dev/null; then # The "16) Connection refused" error happens at the row below # See: https://github.com/deterenkelt/Nadeshiko/wiki/Known-issues-for-Nadeshiko%E2%80%91mpv#----connection-refused - if ! TIME="$(echo '{ "command": ["get_property", "time-pos"] }' | socat - "$MPV_SOCKET_PATH" 2> "\dev\null")"; then + if ! TIME="$(echo '{ "command": ["get_property", "time-pos"] }' | socat - "$MPV_SOCKET_PATH" 2> /dev/null)"; then exit 1 fi if [ "$(echo "$TIME" | jq -r .error)" = "success" ]; then