Use adwaita cursor in gnome (https://github.com/nix-community/stylix/issues/359)
This commit is contained in:
parent
78c6614883
commit
d636dced9e
2 changed files with 15 additions and 6 deletions
|
@ -2,6 +2,7 @@
|
|||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
osConfig,
|
||||
...
|
||||
}: {
|
||||
imports = [inputs.stylix.homeModules.stylix];
|
||||
|
@ -27,7 +28,14 @@
|
|||
emoji = config.stylix.fonts.monospace;
|
||||
};
|
||||
|
||||
cursor = {
|
||||
cursor =
|
||||
if osConfig.hm-pedro.de == "gnome" # https://github.com/nix-community/stylix/issues/359
|
||||
then {
|
||||
package = pkgs.adwaita-icon-theme;
|
||||
name = "Adwaita";
|
||||
size = 22;
|
||||
}
|
||||
else {
|
||||
package = pkgs.catppuccin-cursors.mochaDark;
|
||||
name = "Catppuccin Mocha Dark";
|
||||
size = 22;
|
||||
|
@ -35,6 +43,7 @@
|
|||
|
||||
iconTheme = {
|
||||
enable = true;
|
||||
# package = pkgs.adwaita-icon-theme;
|
||||
package = pkgs.catppuccin-papirus-folders.override {
|
||||
flavor = "mocha";
|
||||
accent = "lavender";
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
options = {
|
||||
hm-pedro.de = lib.mkOption {
|
||||
default = "none";
|
||||
type = lib.types.enum ["none" "hyprland"];
|
||||
type = lib.types.enum ["none" "hyprland" "gnome"];
|
||||
};
|
||||
};
|
||||
config = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue