some additions to gtk

This commit is contained in:
Chris Cochrun 2024-06-21 17:11:51 -05:00
parent 00ff3d0bf7
commit 257737abbf
2 changed files with 39 additions and 0 deletions

View file

@ -275,6 +275,44 @@ in
size = 32;
};
dconf.settings = {
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
};
};
gtk = {
enable = true;
cursorTheme = {
name = "phinger-cursors-light";
package = pkgs.phinger-cursors;
size = 32;
};
font = {
name = "VictorMono Nerd Font";
size = 11;
};
iconTheme = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
theme.name = "Breeze";
gtk3.extraConfig = {
gtk-application-prefer-dark-theme = true;
gtk-button-images = true;
gtk-decoration-layout = "icon:minimize,maximize,close";
gtk-enable-animations = true;
gtk-enable-event-sounds = 1;
gtk-menu-images = true;
gtk-primary-button-warps-slider = true;
gtk-xft-antialias = 1;
gtk-xft-dpi = 98304;
gtk-xft-hinting = 1;
gtk-xft-hintstyle = "hintfull";
gtk-xft-rgba = "rgb";
};
};
services.cliphist = {
enable = true;
};

View file

@ -171,6 +171,7 @@ with lib;
WLR_BACKEND = "vulkan";
WLR_RENDERER = "vulkan";
XDG_SESSION_TYPE = "wayland";
# Remember that this causes issues in some games use "unset SDL_VIDEODRIVER &&"
SDL_VIDEODRIVER = "wayland";
CLUTTER_BACKEND = "wayland";
WLR_NO_HARDWARE_CURSORS = "1";