Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
2021-04-11 01:33:00 +02:00
parent edbf307885
commit 8758773fe8
4 changed files with 33 additions and 22 deletions

View File

@ -4,13 +4,10 @@ echo
echo -e $(date)
echo
echo
sudo emerge --sync
sudo $HOME/.local/bin/eix-repos-sync
sudo eix-sync -a
sudo eix-update
#sudo emerge-webrsync
#sudo emerge --sync
#sudo emaint sync -a
sudo emerge -auDN @world
#sudo eix-update
echo
echo
echo -e $(date)

View File

@ -1,2 +1,9 @@
#!/bin/bash
for i in /usr/repos/*/.git; do ( echo $i; cd $i/..; sudo git pull; ); done
if [ -e /etc/portage/make.conf ]; then
. /etc/portage/make.conf
if [ ! -d $PORTDIR/metadata/md5-cache -o -d $PORTDIR/.git ]; then
echo "updating metadata cache ..."
egencache --repo=gentoo --update
fi
fi

View File

@ -18,5 +18,5 @@ if [ -z "$1" ]; then
'-> if is-empty(it) then "No one you are following is streaming right now." else it' \
-o table
else
streamlink -p mpv twitch.tv/$1 ${2:-best}
__NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 __GLX_VENDOR_LIBRARY_NAME=nvidia __GL_SYNC_TO_VBLANK=0 streamlink -p mpv twitch.tv/$1 ${2:-best}
fi