1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-06-26 01:07:11 -07:00

laptop crap

This commit is contained in:
Connor Olding 2015-05-20 20:34:03 -07:00
parent 92a51b885b
commit 8a5020d365
2 changed files with 5 additions and 4 deletions

View File

@ -80,6 +80,7 @@ alias gl='git log --oneline'
# being specific
alias erc="e ~/.zshrc ~/shrc.zsh ~/.bashrc ~/.vimrc"
alias pip="sudo -H pip3"
alias irc="screen -dR irc irssi"
alias crawl='screen -dR crawl ssh crawl@crawl.develz.org -i ~/.ssh/crawl'
alias crawla='screen -dR crawl ssh crawl@crawl.akrasiac.org -l joshua -i ~/.ssh/crawl'
@ -120,7 +121,7 @@ _M_PRE_EMPH='equalizer=f=50.0:g=-10:width_type=o:w=4,equalizer=f=5000:g=+05:widt
_M_POST_EMPH='equalizer=f=50.0:g=+10:width_type=o:w=4,equalizer=f=5000:g=-05:width_type=o:w=4'
_M_COMPRESS='compand=0.001|0.001:0.25|0.25:-42/-42|0/-21:6:18:-30:0.001'
_M_LIMIT='compand=0.000|0.000:0.10|0.10:-9/-9|0/-6.:3:4.5:-9'
_M_KILL="$_M_STEREO,$_M_PRE_EMPH,$_M_COMPRESS,$_M_POST_EMPH,$_M_LIMIT"
_M_KILL="$_M_STEREO,$_M_PRE_EMPH,$_M_COMPRESS,$_M_POST_EMPH"
crap_speakers='crap_eq_const_T420'
[ -e "/usr/lib/ladspa/${crap_speakers}-ladspa.so" ] \
@ -129,7 +130,7 @@ crap_speakers='crap_eq_const_T420'
if [[ "$(uname -n)" != "banshee" ]]; then
MPV_STREAM_FLAGS="--quiet --no-sub --vo=opengl:swapinterval=0"
else
MPV_STREAM_FLAGS="--quiet --no-sub --af=lavfi=[$_M_KILL],$_M_SPEAKERS"
MPV_STREAM_FLAGS="--quiet --no-sub --af=lavfi=[$_M_KILL],$_M_SPEAKERS,lavfi=[$_M_LIMIT]"
fi
LIVESTREAMER_FLAGS=""

4
sh/mw
View File

@ -77,11 +77,11 @@ mw-enable() {
mw() {
if [ "$#" -eq 1 ]; then
if [[ "$1" == 32 ]]; then
mw-enable $_mw_host32 /media/2tb/you/dump/mxe/usr
mw-enable $_mw_host32 ~/src/mxe/usr
export CFLAGS="-mwin32 $CFLAGS"
export CXXFLAGS="$CFLAGS"
elif [[ "$1" == 64 ]]; then
mw-enable $_mw_host64 /media/2tb/you/dump/mxe/usr
mw-enable $_mw_host64 ~/src/mxe/usr
export CFLAGS="-mwin32 $CFLAGS"
export CXXFLAGS="$CFLAGS"
elif [[ "$1" == arm ]]; then