]> git.sev.monster Git - dotfiles.git/commitdiff
abandon $OSTYPE in install, add xdg/cava
authords6 <git@ds6.pw>
Mon, 5 Feb 2018 14:04:48 +0000 (08:04 -0600)
committersev <git@sev.monster>
Fri, 5 Apr 2024 20:44:51 +0000 (15:44 -0500)
just use uname instead of $OSTYPE
should probably find a better way to handle that but it works for now

install.sh
xdg/cava/config [new file with mode: 0644]

index 5df39a9c821757cc45a2bd4d509f682968f14d24..985717b406c00acd2ffe65ee4153b91aaded9a3c 100755 (executable)
@@ -19,8 +19,9 @@ cd -
 
 #accomodate linuxisms
 fex='-perm -ugo=x'
 
 #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
                d1='-depth 1'
                bsd=yes;;
        *)      lnargs=-sfnv
diff --git a/xdg/cava/config b/xdg/cava/config
new file mode 100644 (file)
index 0000000..c6a081a
--- /dev/null
@@ -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
This page took 0.036881 seconds and 4 git commands to generate.