Invert type for cursor theme (e.g. Dark cursor if Light theme)
This commit is contained in:
parent
e16a368f53
commit
9010309e86
|
@ -40,6 +40,10 @@
|
||||||
if variant == "Latte"
|
if variant == "Latte"
|
||||||
then "Light"
|
then "Light"
|
||||||
else "Dark";
|
else "Dark";
|
||||||
|
inverseType =
|
||||||
|
if type == "Light"
|
||||||
|
then "Dark"
|
||||||
|
else "Light";
|
||||||
in {
|
in {
|
||||||
enable = true;
|
enable = true;
|
||||||
iconTheme = {
|
iconTheme = {
|
||||||
|
@ -51,7 +55,7 @@
|
||||||
};
|
};
|
||||||
cursorTheme = {
|
cursorTheme = {
|
||||||
package = pkgs.catppuccin-cursors."${toLower variant}${type}";
|
package = pkgs.catppuccin-cursors."${toLower variant}${type}";
|
||||||
name = "Catppuccin-${variant}-${type}-Cursors";
|
name = "Catppuccin-${variant}-${inverseType}-Cursors";
|
||||||
size = 32;
|
size = 32;
|
||||||
};
|
};
|
||||||
theme = let
|
theme = let
|
||||||
|
|
Reference in a new issue