marleyos/modules/home/shell/gtk.nix
2025-05-26 13:37:06 -07:00

28 lines
553 B
Nix

{
lib,
config,
...
}: {
config = lib.mkIf config.marleycfg.profiles.desktop {
home.pointerCursor.gtk.enable = true;
gtk = {
enable = true;
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
iconTheme = with config.stylix.iconTheme; {
name =
if config.lib.stylix.colors.variant == "dark"
then dark
else light;
inherit package;
};
};
home.shellAbbrs = {
# Inspect element for UI.
"cssdebug" = "GTK_DEBUG=interactive";
};
};
}