hm
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
{pkgs, ...}: {
|
||||
home.pointerCursor = {
|
||||
gtk.enable = true;
|
||||
x11.enable = true;
|
||||
name = "Adwaita";
|
||||
package = pkgs.adwaita-icon-theme;
|
||||
size = 28;
|
||||
};
|
||||
gtk = {
|
||||
enable = true;
|
||||
theme = {
|
||||
package = pkgs.orchis-theme;
|
||||
name = "Orchis-Grey-Dark-Compact";
|
||||
};
|
||||
iconTheme = {
|
||||
package = pkgs.gruvbox-plus-icons;
|
||||
name = "Gruvbox-Plus-Dark";
|
||||
};
|
||||
font = {
|
||||
name = "Input Sans Narrow Light";
|
||||
size = 10;
|
||||
};
|
||||
cursorTheme = {
|
||||
name = "Adwaita";
|
||||
package = pkgs.adwaita-icon-theme;
|
||||
size = 28;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -3,8 +3,10 @@
|
||||
inputs.hyprland.homeManagerModules.default
|
||||
./land/cnst
|
||||
];
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
|
||||
systemd = {
|
||||
variables = ["--all"];
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
workspace_swipe_create_new = true;
|
||||
};
|
||||
misc = {
|
||||
vrr = 1;
|
||||
vrr = 2;
|
||||
no_direct_scanout = false;
|
||||
mouse_move_enables_dpms = 1;
|
||||
key_press_enables_dpms = 0;
|
||||
@@ -62,10 +62,10 @@
|
||||
xwayland = {
|
||||
force_zero_scaling = true;
|
||||
};
|
||||
cursor = {
|
||||
no_hardware_cursors = true;
|
||||
no_break_fs_vrr = true;
|
||||
min_refresh_rate = 24;
|
||||
};
|
||||
# cursor = {
|
||||
# no_hardware_cursors = true;
|
||||
# no_break_fs_vrr = true;
|
||||
# min_refresh_rate = 24;
|
||||
# };
|
||||
};
|
||||
}
|
||||
|
||||
9
home/core/gui/style/dconf.nix
Normal file
9
home/core/gui/style/dconf.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
dconf = {
|
||||
settings = {
|
||||
"org/gnome/desktop/interface" = {
|
||||
color-scheme = "prefer-dark";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
8
home/core/gui/style/default.nix
Normal file
8
home/core/gui/style/default.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
imports = [
|
||||
./gtk.nix
|
||||
./dconf.nix
|
||||
# ./qt.nix
|
||||
# ./global.nix
|
||||
];
|
||||
}
|
||||
87
home/core/gui/style/gtk.nix
Normal file
87
home/core/gui/style/gtk.nix
Normal file
@@ -0,0 +1,87 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
home = {
|
||||
packages = [pkgs.glib]; # gsettings
|
||||
pointerCursor = {
|
||||
package = pkgs.catppuccin-cursors.latteDark;
|
||||
name = "catppuccin-latte-dark-cursors";
|
||||
size = 28;
|
||||
gtk.enable = true;
|
||||
x11.enable = true;
|
||||
};
|
||||
};
|
||||
gtk = {
|
||||
enable = true;
|
||||
theme = {
|
||||
package = pkgs.orchis-theme;
|
||||
name = "Orchis-Grey-Dark-Compact";
|
||||
};
|
||||
iconTheme = {
|
||||
package = pkgs.gruvbox-plus-icons;
|
||||
name = "Gruvbox-Plus-Dark";
|
||||
};
|
||||
font = {
|
||||
name = "Input Sans Narrow Light";
|
||||
size = 10;
|
||||
};
|
||||
cursorTheme = {
|
||||
package = pkgs.catppuccin-cursors.latteDark;
|
||||
name = "catppuccin-latte-dark-cursors";
|
||||
size = 28;
|
||||
};
|
||||
|
||||
gtk2 = {
|
||||
configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
|
||||
extraConfig = ''
|
||||
gtk-xft-antialias=1
|
||||
gtk-xft-hinting=1
|
||||
gtk-xft-hintstyle="hintslight"
|
||||
gtk-xft-rgba="rgb"
|
||||
'';
|
||||
};
|
||||
|
||||
gtk3.extraConfig = {
|
||||
# Lets be easy on the eyes. This should be easy to make dependent on
|
||||
# the "variant" of the theme, but I never use a light theme anyway.
|
||||
gtk-application-prefer-dark-theme = true;
|
||||
|
||||
# Decorations
|
||||
gtk-decoration-layout = "appmenu:none";
|
||||
gtk-toolbar-style = "GTK_TOOLBAR_BOTH";
|
||||
gtk-toolbar-icon-size = "GTK_ICON_SIZE_LARGE_TOOLBAR";
|
||||
gtk-button-images = 1;
|
||||
gtk-menu-images = 1;
|
||||
|
||||
# Silence bells and whistles, quite literally.
|
||||
gtk-error-bell = 0;
|
||||
gtk-enable-event-sounds = 0;
|
||||
gtk-enable-input-feedback-sounds = 0;
|
||||
|
||||
# Fonts
|
||||
gtk-xft-antialias = 1;
|
||||
gtk-xft-hinting = 1;
|
||||
gtk-xft-hintstyle = "hintslight";
|
||||
};
|
||||
|
||||
gtk4.extraConfig = {
|
||||
# Prefer dark theme.
|
||||
gtk-application-prefer-dark-theme = true;
|
||||
|
||||
# Decorations.
|
||||
gtk-decoration-layout = "appmenu:none";
|
||||
|
||||
# Sounds, again.
|
||||
gtk-error-bell = 0;
|
||||
gtk-enable-event-sounds = 0;
|
||||
gtk-enable-input-feedback-sounds = 0;
|
||||
|
||||
# Fonts, you know the drill.
|
||||
gtk-xft-antialias = 1;
|
||||
gtk-xft-hinting = 1;
|
||||
gtk-xft-hintstyle = "hintslight";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -13,11 +13,4 @@
|
||||
videos = "${config.home.homeDirectory}/media/videos";
|
||||
};
|
||||
};
|
||||
dconf = {
|
||||
settings = {
|
||||
"org/gnome/desktop/interface" = {
|
||||
color-scheme = "prefer-dark";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user