New theme + Cava config

This commit is contained in:
Filippo Berto 2022-08-01 16:35:00 +02:00
parent f643371195
commit 78b6962d8a
4 changed files with 50 additions and 12 deletions

View file

@ -0,0 +1,20 @@
{ pkgs, lib, ... }:
let
strPalette = with pkgs.rice; pkgs.lib.rice.palette.toRgbHex colorPalette;
fmtString = str: "\'${str}\'";
in
{
xdg.configFile."cava/config".text = lib.generators.toINI { } {
general = { bar_width = 1; bar_spacing = 1; };
color = {
gradient = 1;
gradient_count = 5;
gradient_color_1 = fmtString strPalette.normal.red;
gradient_color_2 = fmtString strPalette.normal.yellow;
gradient_color_3 = fmtString strPalette.normal.white;
gradient_color_4 = fmtString strPalette.normal.cyan;
gradient_color_5 = fmtString strPalette.normal.blue;
};
smoothing = { gravity = 40; };
};
}

View file

@ -126,6 +126,7 @@
./modules/alacritty.nix
./modules/autorandr.nix
./modules/bspwm.nix
./modules/cava.nix
./modules/easyeffects.nix
./modules/dunst.nix
# ./modules/grobi.nix