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"
|
||||
then "Light"
|
||||
else "Dark";
|
||||
inverseType =
|
||||
if type == "Light"
|
||||
then "Dark"
|
||||
else "Light";
|
||||
in {
|
||||
enable = true;
|
||||
iconTheme = {
|
||||
|
@ -51,7 +55,7 @@
|
|||
};
|
||||
cursorTheme = {
|
||||
package = pkgs.catppuccin-cursors."${toLower variant}${type}";
|
||||
name = "Catppuccin-${variant}-${type}-Cursors";
|
||||
name = "Catppuccin-${variant}-${inverseType}-Cursors";
|
||||
size = 32;
|
||||
};
|
||||
theme = let
|
||||
|
|
Reference in a new issue