aboutsummaryrefslogtreecommitdiffstats
path: root/.config/zsh/includes
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2021-12-21 12:46:49 +0100
committerDavid Runge <dave@sleepmap.de>2021-12-21 12:46:49 +0100
commit199b76b6aaacc8b86a9d04f94258364f5073ddf8 (patch)
tree82190d8ccc9ce46b08227ba40d0db2ca9af2faa4 /.config/zsh/includes
parent3fb4ec875b90d0e1110acca5b2c2841125d6f125 (diff)
downloaddotfiles-199b76b6aaacc8b86a9d04f94258364f5073ddf8.tar.gz
dotfiles-199b76b6aaacc8b86a9d04f94258364f5073ddf8.tar.bz2
dotfiles-199b76b6aaacc8b86a9d04f94258364f5073ddf8.tar.xz
dotfiles-199b76b6aaacc8b86a9d04f94258364f5073ddf8.zip
zsh: Set alias for less, modify mpv
.config/zsh/includes/aliases.zsh: Set alias for less with default flags. Change alias for mpv to use cache by default and connect to a Fireface800 when using jack (should be done using wireplumber in the future).
Diffstat (limited to '.config/zsh/includes')
-rw-r--r--.config/zsh/includes/aliases.zsh5
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/zsh/includes/aliases.zsh b/.config/zsh/includes/aliases.zsh
index 20a055f..862384b 100644
--- a/.config/zsh/includes/aliases.zsh
+++ b/.config/zsh/includes/aliases.zsh
@@ -38,6 +38,7 @@ alias lla='ls -lA'
alias lsfw='ls -lah /dev|grep fw'
alias lsvid='ls -lah /dev|grep video'
+alias less='less -F -g -i -M -R -S -w -X -z -4'
#zsh
# Lists the ten most used commands.
@@ -49,9 +50,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 --gpu-context=wayland -ao=jack,pulse,alsa --sub-auto=fuzzy --jack-port="minimixer:in1_*"'
+ alias mpv='mpv --audio-channels=stereo --cache=yes --gpu-context=wayland -ao=jack,pulse,alsa --sub-auto=fuzzy --jack-port="Fireface 800 Pro:playback_*"'
else
- alias mpv='mpv --audio-channels=stereo -ao=jack,pulse,alsa --sub-auto=fuzzy --jack-port="minimixer:in1_*"'
+ alias mpv='mpv --audio-channels=stereo --cache=yes -ao=jack,pulse,alsa --sub-auto=fuzzy --jack-port="Fireface 800 Pro:playback_*"'
fi
if [[ "$VENDOR" == "apple" ]]; then
alias mpv='mpv --sub-auto=fuzzy'