From: ds6 Date: Mon, 5 Feb 2018 14:04:48 +0000 (-0600) Subject: abandon $OSTYPE in install, add xdg/cava X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/commitdiff_plain/364338b5eb91b9f6b509670e0928761b281f28df?ds=inline;hp=f51d40ba05d744949145dd2b14937ba829201d1f abandon $OSTYPE in install, add xdg/cava just use uname instead of $OSTYPE should probably find a better way to handle that but it works for now --- diff --git a/install.sh b/install.sh index 5df39a9..985717b 100755 --- a/install.sh +++ b/install.sh @@ -19,8 +19,9 @@ cd - #accomodate linuxisms fex='-perm -ugo=x' -case "$OSTYPE" in - *bsd*) lnargs=-sFhvw +# TODO: should probably do this better +case "`uname`" in + *BSD*) lnargs=-sFhvw d1='-depth 1' bsd=yes;; *) lnargs=-sfnv diff --git a/xdg/cava/config b/xdg/cava/config new file mode 100644 index 0000000..c6a081a --- /dev/null +++ b/xdg/cava/config @@ -0,0 +1,22 @@ +[general] +framerate = 24 +autosens = 0 +sensitivity = 300 +bar_width = 1 +bar_spacing = 2 + +[input] +method = fifo +source = /var/mpd/fifo + +[output] +channels = stereo + +[color] +; background = black +foreground = 'yellow' + +[smoothing] +integral = 0 +monstercat = 0 +gravity = 85