From e65c41329100b6d857b7cd9d935c6a79e66ba928 Mon Sep 17 00:00:00 2001 From: ds6 Date: Mon, 5 Feb 2018 08:04:48 -0600 Subject: [PATCH 1/1] 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 --- install.sh | 5 +++-- xdg/cava/config | 22 ++++++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 xdg/cava/config 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 -- 2.47.0