nix-config/home/gburd/features/rgb/default.nix
Greg Burd f3fd89af54
A fork of Misterio77 and his standard template.
Many thangs to the hard work and generous availability of:
git@github.com:Misterio77/nix-config.git
2023-09-15 10:53:38 -04:00

28 lines
688 B
Nix

{ config, ... }:
let inherit (config.colorscheme) colors;
in {
services.rgbdaemon = {
enable = true;
daemons = {
swayLock = true;
mute = true;
player = true;
};
colors = {
background = "${colors.base00}";
foreground = "${colors.base05}";
secondary = "${colors.base0B}";
tertiary = "${colors.base0E}";
quaternary = "${colors.base05}";
};
keyboard = {
device = "/dev/input/ckb1/cmd";
highlighted = [ "h" "j" "k" "l" "w" "a" "s" "d" "m3" "g11" "profswitch" "lwin" "rwin" ];
};
mouse = {
device = "/dev/input/ckb2/cmd";
dpi = 750;
highlighted = [ "wheel" "thumb" ];
};
};
}