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/e65c41329100b6d857b7cd9d935c6a79e66ba928?ds=sidebyside;hp=28426e67b79137cdf706e3740ce7a97212373d77 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