NixOS-Config/modules/home/settings/gtk/default.nix

58 lines
1.3 KiB
Nix
Raw Normal View History

2024-10-15 02:40:43 -04:00
{ pkgs, config, ... }:
2024-10-09 03:36:08 -04:00
{
2024-08-24 22:16:51 -04:00
gtk = {
enable = true;
2024-09-23 16:22:01 -04:00
font = {
2024-10-15 02:40:43 -04:00
name = "${config.look.fonts.main}";
2024-08-24 22:16:51 -04:00
size = 11;
};
theme = {
name = "Colloid-Dark";
package = pkgs.colloid-gtk-theme.override {
themeVariants = [ "default" ];
colorVariants = [ "dark" ];
sizeVariants = [ "standard" ];
tweaks = [
"black"
"rimless"
"normal"
];
2024-08-24 22:16:51 -04:00
};
};
iconTheme = {
2024-10-16 00:04:56 -04:00
package = pkgs.papirus-icon-theme.override { color = "${config.look.colors.folder}"; };
2024-08-24 22:16:51 -04:00
name = "Papirus-Dark";
};
cursorTheme = {
package = pkgs.simp1e-cursors;
name = "Simp1e-Dark";
};
gtk3 = {
bookmarks = [
"file:///home/jimbo/Downloads"
"file:///home/jimbo/Documents"
"file:///home/jimbo/Videos"
"file:///home/jimbo/Pictures/Screenshots"
2024-08-26 14:29:23 -04:00
"file:///etc/nixos"
2024-08-24 22:16:51 -04:00
];
# Disable shadows
extraCss = ''
* { outline-width: 0px; }
decoration { box-shadow: none; }
'';
};
# Stop gtk4 from being rounded
gtk4.extraCss = ''
window {
border-top-left-radius:0;
border-top-right-radius:0;
border-bottom-left-radius:0;
border-bottom-right-radius:0;
}
'';
};
}