style: cursor

This commit is contained in:
Sweetbread 2025-04-02 15:07:36 +03:00
parent 81f1138282
commit cff604091a
4 changed files with 17 additions and 5 deletions

View File

@ -97,7 +97,8 @@
"XDG_SESSION_DESKTOP,Hyprland" "XDG_SESSION_DESKTOP,Hyprland"
"WLR_NO_HARDWARE_CURSORS,1" "WLR_NO_HARDWARE_CURSORS,1"
"XCURSOR_SIZE,36" "XCURSOR_SIZE, ${toString config.stylix.cursor.size}"
"XCURSOR_THEME, ${config.stylix.cursor.name}"
"XDG_SCREENSHOTS_DIR,~/screens" "XDG_SCREENSHOTS_DIR,~/screens"
]; ];

View File

@ -21,6 +21,12 @@
dark = "Pop-Dark"; dark = "Pop-Dark";
}; };
cursor = {
name = "catppuccin-mocha-peach-cursors";
size = 24;
package = pkgs.catppuccin-cursors.mochaPeach;
};
fonts = { fonts = {
monospace = { monospace = {
name = "JetBrains Mono"; name = "JetBrains Mono";

View File

@ -25,8 +25,8 @@
gaps_in = 5; gaps_in = 5;
gaps_out = 20; gaps_out = 20;
border_size = 3; border_size = 3;
"col.active_border" = "rgba(${colors.base0C}ee) rgba(${colors.base0B}ee) 45deg"; "col.active_border" = lib.mkForce "rgba(${colors.base0C}ee) rgba(${colors.base0B}ee) 45deg";
"col.inactive_border" = "rgba(${colors.base05}aa)"; "col.inactive_border" = lib.mkForce "rgba(${colors.base05}aa)";
layout = "dwindle"; layout = "dwindle";
}; };
@ -45,7 +45,6 @@
enabled = true; enabled = true;
range = 4; range = 4;
render_power = 3; render_power = 3;
color = "rgba(1a1a1aee)";
}; };
}; };

View File

@ -2,7 +2,7 @@
stylix = { stylix = {
enable = true; enable = true;
targets = { targets = {
hyprland.enable = false; hyprland.enable = true;
waybar.enable = false; waybar.enable = false;
kitty.variant256Colors = true; kitty.variant256Colors = true;
}; };
@ -21,6 +21,12 @@
dark = "Pop-Dark"; dark = "Pop-Dark";
}; };
cursor = {
name = "catppuccin-mocha-green-cursors";
size = 24;
package = pkgs.catppuccin-cursors.mochaGreen;
};
fonts = { fonts = {
monospace = { monospace = {
name = "JetBrains Mono"; name = "JetBrains Mono";