nixos-configs/nixosModules/desktop/home/theme/default.nix

49 lines
1 KiB
Nix
Raw Normal View History

self: {pkgs, ...}: {
imports = [
./gtk.nix
(import ./qt.nix self)
];
config = let
inherit (self.legacyPackages.${pkgs.system}) dracula;
in {
home.pointerCursor = {
name = "Dracula-cursors";
package = dracula.gtk;
size = 24;
gtk.enable = true;
x11 = {
enable = true;
defaultCursor = "Dracula-cursors";
};
};
xresources.extraConfig = ''
! Dracula Xresources palette
*.foreground: #F8F8F2
*.background: #282A36
*.color0: #000000
*.color8: #4D4D4D
*.color1: #FF5555
*.color9: #FF6E67
*.color2: #50FA7B
*.color10: #5AF78E
*.color3: #F1FA8C
*.color11: #F4F99D
*.color4: #BD93F9
*.color12: #CAA9FA
*.color5: #FF79C6
*.color13: #FF92D0
*.color6: #8BE9FD
*.color14: #9AEDFE
*.color7: #BFBFBF
*.color15: #E6E6E6
'';
};
# For accurate stack trace
_file = ./default.nix;
}