feat(theme): add xresources dracula theme

This commit is contained in:
matt1432 2023-10-03 11:18:39 -04:00
parent d7ad60297d
commit c6b260280c
2 changed files with 13 additions and 5 deletions

View file

@ -3,9 +3,9 @@
symlink = config.lib.file.mkOutOfStoreSymlink; symlink = config.lib.file.mkOutOfStoreSymlink;
in in
{ {
home.packages = [ home.packages = with pkgs; [
pkgs.sassc sassc
pkgs.coloryou coloryou
]; ];
imports = [ imports = [

View file

@ -1,5 +1,11 @@
{ pkgs, ... }: { pkgs, ... }: let
dracula-xresources = pkgs.fetchFromGitHub {
owner = "dracula";
repo = "xresources";
rev = "539ef24e9b0c5498a82d59bfa2bad9b618d832a3";
sha256 = "sha256-6fltsAluqOqYIh2NX0I/LC3WCWkb9Fn8PH6LNLBQbrY=";
};
in
{ {
gtk = { gtk = {
enable = true; enable = true;
@ -19,6 +25,8 @@
}; };
}; };
xresources.extraConfig = builtins.readFile("${dracula-xresources}/Xresources");
xdg.configFile = { xdg.configFile = {
"../.themes/Dracula".source = "${pkgs.dracula-theme}/share/themes/Dracula"; "../.themes/Dracula".source = "${pkgs.dracula-theme}/share/themes/Dracula";