aboutsummaryrefslogtreecommitdiffstats
path: root/.config/zsh
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2022-03-16 15:08:35 +0100
committerDavid Runge <dave@sleepmap.de>2022-03-16 15:08:35 +0100
commitb2710cffac0c2b1a9e367ac361271242d730140a (patch)
tree8ea1f005fbd6b5ca962699a8df174be37153663b /.config/zsh
parent09f35654dbdf7156c779cb78fcabc2954c21831f (diff)
downloaddotfiles-b2710cffac0c2b1a9e367ac361271242d730140a.tar.gz
dotfiles-b2710cffac0c2b1a9e367ac361271242d730140a.tar.bz2
dotfiles-b2710cffac0c2b1a9e367ac361271242d730140a.tar.xz
dotfiles-b2710cffac0c2b1a9e367ac361271242d730140a.zip
zsh: Use system device for mpv
.config/zsh/includes/aliases.zsh: When targetting the JACK backend use the generic "system" device.
Diffstat (limited to '.config/zsh')
-rw-r--r--.config/zsh/includes/aliases.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/zsh/includes/aliases.zsh b/.config/zsh/includes/aliases.zsh
index 5d0f880..a0ba72d 100644
--- a/.config/zsh/includes/aliases.zsh
+++ b/.config/zsh/includes/aliases.zsh
@@ -49,9 +49,9 @@ for index ({1..9}) alias "$index"="cd +${index}"; unset index
#MPLAYER
alias mplayer='mplayer -ao jack,pulse,alsa'
if pgrep Xwayland > /dev/null; then
- alias mpv='mpv --audio-channels=stereo --cache=yes --gpu-context=wayland -ao=jack,pulse,alsa --sub-auto=fuzzy --jack-port="Fireface 800 Pro:playback_*"'
+ alias mpv='mpv --audio-channels=stereo --cache=yes --gpu-context=wayland -ao=jack,pulse,alsa --sub-auto=fuzzy --jack-port="system:playback_*"'
else
- alias mpv='mpv --audio-channels=stereo --cache=yes -ao=jack,pulse,alsa --sub-auto=fuzzy --jack-port="Fireface 800 Pro:playback_*"'
+ alias mpv='mpv --audio-channels=stereo --cache=yes -ao=jack,pulse,alsa --sub-auto=fuzzy --jack-port="system:playback_*"'
fi
if [[ "$VENDOR" == "apple" ]]; then
alias mpv='mpv --sub-auto=fuzzy'