From 0c9a085e2ec32e139badf1243655fc3f9ee4e4fb Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Tue, 24 Nov 2015 19:01:34 -0800 Subject: [PATCH] banshee and wraith crap --- home/-shrc | 10 ++++++++-- home/vimrc | 6 +++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/home/-shrc b/home/-shrc index aeb5bee..94068d6 100644 --- a/home/-shrc +++ b/home/-shrc @@ -88,6 +88,7 @@ alias revend='objcopy -I binary -O binary --reverse-bytes=4' alias fucksystemd='dmesg | grep -v audit' alias aur="BUILDDIR=$HOME/src $HOME/sh/aur -jj" alias clone='sudo rsync -aHA --info=progress2' +alias wraith="ssh -i ~/.ssh/id_rsa_email root@159.203.4.16" # providing extra functionality # TODO: dotfiles first, like `LC_ALL=C ls -A` which doesnt work with -X flag @@ -137,12 +138,17 @@ fi LIVESTREAMER_FLAGS="" 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}" } # hitbox uses rtmp but mpv doesnt support rtmp dump parameters 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}" } diff --git a/home/vimrc b/home/vimrc index 67e95af..4750db5 100644 --- a/home/vimrc +++ b/home/vimrc @@ -63,7 +63,11 @@ if has('gui_running') set guioptions-=m " hide menu which isn't loaded anyway set guioptions-=T " hide toolbar 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 lines=36 cd $HOME " might not be ideal...