cleanup and styling with nix-rice

This commit is contained in:
Matt Nish-Lapidus 2025-02-08 10:27:43 -05:00
parent 762be96a71
commit 88fad0ccac
9 changed files with 90 additions and 63 deletions

View file

@ -1,16 +1,9 @@
{ config, pkgs, ... }:
with pkgs.lib.nix-rice;
let strPalette = palette.toRGBHex pkgs.rice.colorPalette;
in {
{
programs = {
waybar = {
enable = true;
package = pkgs.waybar;
};
eww = {
enable = true;
configDir = ../../homes/emenel/dotfiles/dot_config/eww;
};
niri = {
# package = pkgs.niri-unstable;
# enable = true;
@ -59,13 +52,13 @@
width = 2560;
height = 1600;
};
background-color = "#000000";
background-color = strPalette.normal.background;
scale = 1;
variable-refresh-rate = true;
};
"HDMI-A-1" = {
background-color = "#000000";
background-color = strPalette.normal.background;
scale = 1;
};
@ -74,7 +67,7 @@
width = 3840;
height = 2160;
};
background-color = "#000000";
background-color = strPalette.normal.background;
scale = 1;
};
};
@ -117,8 +110,8 @@
focus-ring = {
enable = true;
active.gradient = {
from = "#d8bfffdd";
to = "#BD93FF99";
from = strPalette.normal.magenta;
to = strPalette.bright.magenta;
angle = 180;
in' = "srgb-linear";
};