2023-11-22 15:33:16 -05:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
2023-12-13 18:47:51 -05: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-04 00:50:39 -04:00
|
|
|
|
|
|
|
font = {
|
|
|
|
name = "Sans Serif";
|
2023-12-01 14:12:33 -05:00
|
|
|
size = config.vars.fontSize;
|
2023-10-04 00:50:39 -04:00
|
|
|
};
|
2023-10-03 11:08:17 -04:00
|
|
|
};
|
|
|
|
|
2023-10-04 00:50:39 -04:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
libsForQt5.qtstyleplugin-kvantum
|
|
|
|
qt6Packages.qtstyleplugin-kvantum #FIXME: doesn't work with qt6ct
|
|
|
|
];
|
2023-10-03 22:42:20 -04:00
|
|
|
qt = {
|
|
|
|
enable = true;
|
|
|
|
platformTheme = "qtct";
|
|
|
|
};
|
|
|
|
|
2023-12-13 18:47:51 -05:00
|
|
|
xresources.extraConfig =
|
|
|
|
builtins.readFile
|
2023-12-31 15:44:53 -05:00
|
|
|
"${pkgs.dracula-theme}/xres";
|
2023-10-03 11:18:39 -04:00
|
|
|
|
2023-10-04 00:50:39 -04:00
|
|
|
xdg.configFile = let
|
2024-01-04 03:39:14 -05:00
|
|
|
fontSize = lib.strings.floatToString config.vars.fontSize;
|
2023-10-04 00:50:39 -04:00
|
|
|
qtconf = ''
|
|
|
|
[Fonts]
|
2024-01-04 03:39:14 -05:00
|
|
|
fixed="Sans Serif,${fontSize},-1,5,50,0,0,0,0,0"
|
|
|
|
general="Sans Serif,${fontSize},-1,5,50,0,0,0,0,0"
|
2023-10-03 09:48:12 -04:00
|
|
|
|
2023-10-04 00:50:39 -04:00
|
|
|
[Appearance]
|
|
|
|
icon_theme=Flat-Remix-Violet-Dark
|
2023-11-22 15:33:16 -05:00
|
|
|
style='';
|
|
|
|
in {
|
2023-10-03 22:42:20 -04:00
|
|
|
"Kvantum/Dracula/Dracula.kvconfig".source = "${pkgs.dracula-theme}/share/Kvantum/Dracula-purple-solid/Dracula-purple-solid.kvconfig";
|
2023-11-22 15:33:16 -05:00
|
|
|
"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-04 00:50:39 -04:00
|
|
|
|
|
|
|
"qt5ct/qt5ct.conf".text = qtconf + "kvantum";
|
2023-10-03 09:48:12 -04:00
|
|
|
};
|
|
|
|
}
|