From 12cc15e968185dff9dc4a6951c6487f7041a8dec Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 16 Dec 2024 18:56:41 +0100 Subject: posix-shell: Add mpv alias to provide IPC socket This allows to query information like current music titles from MPV. --- posix-shell/aliases.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'posix-shell') diff --git a/posix-shell/aliases.sh b/posix-shell/aliases.sh index 1d23f33..7069fd1 100644 --- a/posix-shell/aliases.sh +++ b/posix-shell/aliases.sh @@ -18,3 +18,4 @@ alias note='"${EDITOR}" "$(mktemp)"' alias nolink='cd $(pwd -P)' alias zephyr='export ZEPHYR_BASE="${HOME}/zephyrproject/zephyr" && source "${HOME}/zephyrproject/.venv/bin/activate"' alias myrename="perl-rename 's/[^a-zA-Z0-9äöüÄÖÜß\.\/]+/-/g; s/^-+|-+$//g; \$_ = lc(\$_)'" +alias mpv="mpv --input-ipc-server='${XDG_RUNTIME_DIR}/mpv-socket'" -- cgit v1.2.3-70-g09d2