Files
nix-config/host/pc/common/dwl/dwl.nix
T
autumn-the-kitty-cat 1b771db0c8 feat: switch over to a neovim cofeat & fix & refactor: so many things. listed in desc
switch over to a neovim configuration in lua, btrtile for dwl, remove
unnecessary things, some browser addons, rofimoji, fix february flake
2026-03-08 04:50:14 -04:00

49 lines
1.6 KiB
Nix

{ config, pkgs, ... }:
{
environment.systemPackages = [
pkgs.gscreenshot
pkgs.wlr-randr
pkgs.swww
];
programs.dwl = {
enable = true;
package =
(pkgs.dwl.override {
configH = pkgs.replaceVars ./config.h {
base00 = config.lib.stylix.colors.base00;
base01 = config.lib.stylix.colors.base01;
base02 = config.lib.stylix.colors.base02;
base03 = config.lib.stylix.colors.base03;
base04 = config.lib.stylix.colors.base04;
base05 = config.lib.stylix.colors.base05;
base06 = config.lib.stylix.colors.base06;
base07 = config.lib.stylix.colors.base07;
base08 = config.lib.stylix.colors.base08;
base09 = config.lib.stylix.colors.base09;
base0A = config.lib.stylix.colors.base0A;
base0B = config.lib.stylix.colors.base0B;
base0C = config.lib.stylix.colors.base0C;
base0D = config.lib.stylix.colors.base0D;
base0E = config.lib.stylix.colors.base0E;
base0F = config.lib.stylix.colors.base0F;
wallpaper = config.stylix.image;
};
}).overrideAttrs
(oldAttrs: {
buildInputs = oldAttrs.buildInputs or [ ] ++ [
pkgs.libdrm
pkgs.fcft
];
patches = oldAttrs.patches or [ ] ++ [
./patches/autostart-0.7.patch
./patches/btrtile-v0.7-gaps.patch
./patches/focusdir.patch
./patches/gaps.patch
./patches/ipc.patch
./patches/monitorconfig.patch
];
});
};
}