From df3fb016ed1c74bfc6c83afca0e899f8cabad284 Mon Sep 17 00:00:00 2001 From: Marco van Dijk Date: Tue, 20 Jul 2021 19:32:48 +0200 Subject: [PATCH] Added example cava config --- .config/cava/config | 12 ++++++------ .xinitrc | 2 +- README.md | 1 + 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.config/cava/config b/.config/cava/config index 7ca1351..080e2c2 100644 --- a/.config/cava/config +++ b/.config/cava/config @@ -31,7 +31,7 @@ # Note: there is a minimum total bandwidth of 43Mhz x number of bars. # Cava will automatically increase the higher cutoff if a too low band is specified. lower_cutoff_freq = 50 -higher_cutoff_freq = 21000 +higher_cutoff_freq = 22000 # Seconds with no input before cava goes to sleep mode. Cava will not perform FFT or drawing and @@ -53,16 +53,16 @@ higher_cutoff_freq = 21000 # For alsa 'source' will be the capture device. # For fifo 'source' will be the path to fifo-file. # For shmem 'source' will be /squeezelite-AA:BB:CC:DD:EE:FF where 'AA:BB:CC:DD:EE:FF' will be squeezelite's MAC address -; method = pulse -; source = auto +method = pulse +source = auto ; method = alsa ; source = hw:Loopback,1 ; method = fifo ; source = /tmp/mpd.fifo -sample_rate = 44100 -; sample_bits = 16 +sample_rate = 48000 +sample_bits = 24 ; method = shmem ; source = /squeezelite-AA:BB:CC:DD:EE:FF @@ -142,7 +142,7 @@ waves = 1 # Set gravity percentage for "drop off". Higher values means bars will drop faster. # Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off". -gravity = 80 +gravity = 60 # In bar height, bars that would have been lower that this will not be drawn. diff --git a/.xinitrc b/.xinitrc index 270c067..41dd1eb 100644 --- a/.xinitrc +++ b/.xinitrc @@ -32,7 +32,7 @@ xset -dpms # display wallpaper during loading # feh --bg-fill /home/marco/Images/wallpaper.jpg -xsetroot -solid "#16161e" +hsetroot -solid "#16161e" #Recover volumes alsactl init diff --git a/README.md b/README.md index 9116d55..79e1f11 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ When using I3 as window manager - maim: screen capture - xclip: X selection to clipboard - bynanz: record screen to gif +- hsetroot: to change the background colour when picom is running When using Sway as window manager - autotiling: Automatically sets in which direction a window will split based on if the parent container is wider or taller