summaryrefslogtreecommitdiff
path: root/posix-shell
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-12-16 18:56:41 +0100
committerxengineering <me@xengineering.eu>2024-12-16 18:56:41 +0100
commit12cc15e968185dff9dc4a6951c6487f7041a8dec (patch)
tree7c877bdbb2ca680c3ac2a79eaf829757aae04a80 /posix-shell
parent7fac184892e197a4f752da5046da54fe698f3d39 (diff)
downloaddotfiles-12cc15e968185dff9dc4a6951c6487f7041a8dec.tar
dotfiles-12cc15e968185dff9dc4a6951c6487f7041a8dec.tar.zst
dotfiles-12cc15e968185dff9dc4a6951c6487f7041a8dec.zip
posix-shell: Add mpv alias to provide IPC socket
This allows to query information like current music titles from MPV.
Diffstat (limited to 'posix-shell')
-rw-r--r--posix-shell/aliases.sh1
1 files changed, 1 insertions, 0 deletions
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'"