2023-10-03 11:18:39 -04:00
|
|
|
{ pkgs, ... }: let
|
|
|
|
dracula-xresources = pkgs.fetchFromGitHub {
|
|
|
|
owner = "dracula";
|
|
|
|
repo = "xresources";
|
|
|
|
rev = "539ef24e9b0c5498a82d59bfa2bad9b618d832a3";
|
|
|
|
sha256 = "sha256-6fltsAluqOqYIh2NX0I/LC3WCWkb9Fn8PH6LNLBQbrY=";
|
|
|
|
};
|
|
|
|
in
|
2023-10-03 09:48:12 -04:00
|
|
|
{
|
2023-10-03 11:40:34 -04:00
|
|
|
home.pointerCursor = {
|
|
|
|
name = "Dracula-cursors";
|
2023-10-03 13:29:14 -04:00
|
|
|
package = pkgs.dracula-theme;
|
2023-10-03 11:40:34 -04:00
|
|
|
size = 24;
|
|
|
|
|
|
|
|
gtk.enable = true;
|
|
|
|
|
|
|
|
x11 = {
|
|
|
|
enable = true;
|
|
|
|
defaultCursor = "Dracula-cursors";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-10-03 11:08:17 -04:00
|
|
|
gtk = {
|
|
|
|
enable = true;
|
|
|
|
theme = {
|
|
|
|
name = "Dracula";
|
|
|
|
package = pkgs.dracula-theme;
|
|
|
|
};
|
|
|
|
|
|
|
|
iconTheme = {
|
|
|
|
name = "Flat-Remix-Violet-Dark";
|
|
|
|
package = pkgs.flat-remix-icon-theme;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-10-03 22:42:20 -04:00
|
|
|
qt = {
|
|
|
|
enable = true;
|
|
|
|
platformTheme = "qtct";
|
|
|
|
style.name = "Kvantum";
|
|
|
|
};
|
|
|
|
|
2023-10-03 11:18:39 -04:00
|
|
|
xresources.extraConfig = builtins.readFile("${dracula-xresources}/Xresources");
|
|
|
|
|
2023-10-03 22:42:20 -04:00
|
|
|
home.sessionVariables = {
|
|
|
|
QT_FONT_DPI = "125";
|
|
|
|
};
|
2023-10-03 09:48:12 -04:00
|
|
|
|
2023-10-03 22:42:20 -04:00
|
|
|
xdg.configFile = {
|
|
|
|
"Kvantum/Dracula/Dracula.kvconfig".source = "${pkgs.dracula-theme}/share/Kvantum/Dracula-purple-solid/Dracula-purple-solid.kvconfig";
|
|
|
|
"Kvantum/Dracula/Dracula.svg".source = "${pkgs.dracula-theme}/share/Kvantum/Dracula-purple-solid/Dracula-purple-solid.svg";
|
|
|
|
"Kvantum/kvantum.kvconfig".text = "[General]\ntheme=Dracula";
|
2023-10-03 09:48:12 -04:00
|
|
|
};
|
|
|
|
}
|