mirror of
https://github.com/notwa/rc
synced 2024-11-05 04:19:03 -08:00
banshee and wraith crap
This commit is contained in:
parent
2a04550c91
commit
0c9a085e2e
2 changed files with 13 additions and 3 deletions
10
home/-shrc
10
home/-shrc
|
@ -88,6 +88,7 @@ alias revend='objcopy -I binary -O binary --reverse-bytes=4'
|
||||||
alias fucksystemd='dmesg | grep -v audit'
|
alias fucksystemd='dmesg | grep -v audit'
|
||||||
alias aur="BUILDDIR=$HOME/src $HOME/sh/aur -jj"
|
alias aur="BUILDDIR=$HOME/src $HOME/sh/aur -jj"
|
||||||
alias clone='sudo rsync -aHA --info=progress2'
|
alias clone='sudo rsync -aHA --info=progress2'
|
||||||
|
alias wraith="ssh -i ~/.ssh/id_rsa_email root@159.203.4.16"
|
||||||
|
|
||||||
# providing extra functionality
|
# providing extra functionality
|
||||||
# TODO: dotfiles first, like `LC_ALL=C ls -A` which doesnt work with -X flag
|
# TODO: dotfiles first, like `LC_ALL=C ls -A` which doesnt work with -X flag
|
||||||
|
@ -137,12 +138,17 @@ fi
|
||||||
LIVESTREAMER_FLAGS=""
|
LIVESTREAMER_FLAGS=""
|
||||||
|
|
||||||
twitch(){
|
twitch(){
|
||||||
livestreamer "twitch.tv/$1" best -p mpv $LIVESTREAMER_FLAGS -a \
|
local stream="$1"
|
||||||
|
shift
|
||||||
|
# TODO: fix all the shit
|
||||||
|
livestreamer "twitch.tv/$stream" best "$@" -p mpv $LIVESTREAMER_FLAGS -a \
|
||||||
"$MPV_STREAM_FLAGS ${2:+--autofit=}${2:-} {filename}"
|
"$MPV_STREAM_FLAGS ${2:+--autofit=}${2:-} {filename}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# hitbox uses rtmp but mpv doesnt support rtmp dump parameters
|
# hitbox uses rtmp but mpv doesnt support rtmp dump parameters
|
||||||
hitbox(){
|
hitbox(){
|
||||||
livestreamer "hitbox.tv/$1" best -p mpv $LIVESTREAMER_FLAGS -a \
|
local stream="$1"
|
||||||
|
shift
|
||||||
|
livestreamer "hitbox.tv/$stream" best "$@" -p mpv $LIVESTREAMER_FLAGS -a \
|
||||||
"$MPV_STREAM_FLAGS ${2:+--autofit=}${2:-} {filename}"
|
"$MPV_STREAM_FLAGS ${2:+--autofit=}${2:-} {filename}"
|
||||||
}
|
}
|
||||||
|
|
|
@ -63,7 +63,11 @@ if has('gui_running')
|
||||||
set guioptions-=m " hide menu which isn't loaded anyway
|
set guioptions-=m " hide menu which isn't loaded anyway
|
||||||
set guioptions-=T " hide toolbar
|
set guioptions-=T " hide toolbar
|
||||||
set guioptions-=r " hide scrollbar
|
set guioptions-=r " hide scrollbar
|
||||||
set guifont=Consolas:h9
|
if has("gui_gtk2")
|
||||||
|
set guifont=Consolas\ 11
|
||||||
|
else
|
||||||
|
set guifont=Consolas:h9
|
||||||
|
end
|
||||||
set columns=84
|
set columns=84
|
||||||
set lines=36
|
set lines=36
|
||||||
cd $HOME " might not be ideal...
|
cd $HOME " might not be ideal...
|
||||||
|
|
Loading…
Reference in a new issue