From 21c539737c7734ddcf390116ae05fba3d095001c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Wed, 24 Nov 2021 15:52:00 +0100 Subject: [PATCH] Changed mpv for MacOS --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 7165903..cd1cc08 100644 --- a/.zshrc +++ b/.zshrc @@ -101,7 +101,7 @@ alias denpl="trans en:pl" alias dplen="trans pl:en" alias notes="nvim $HOME/git/notes/index.md" alias mgr="cd $HOME/Documents/Mega-Documents/Magisterka-Marcin/Semestr1/" -[[ "$(uname)" == "Darwin" ]] || alias mpv="__NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 __GLX_VENDOR_LIBRARY_NAME=nvidia __GL_SYNC_TO_VBLANK=0 mpv --vo=x11 --hwdec=no --ytdl-raw-options="yes-playlist=" --no-resume-playback --ytdl-format='bestvideo[height<=?1080]+bestaudio/best'" +[[ "$(uname)" == "Darwin" ]] && alias mpv="mpv --no-resume-playback" || alias mpv="__NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 __GLX_VENDOR_LIBRARY_NAME=nvidia __GL_SYNC_TO_VBLANK=0 mpv --vo=x11 --hwdec=no --ytdl-raw-options="yes-playlist=" --no-resume-playback --ytdl-format='bestvideo[height<=?1080]+bestaudio/best'" [[ "$(uname)" == "Darwin" ]] && alias lsblk="diskutil list" alias aria2c="aria2c --seed-time=0 --disable-ipv6 --max-upload-limit=1k" alias lg="lazygit"