Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Thwaites <[email protected]>
  • Loading branch information
Sntx626 and danth authored Oct 22, 2023
1 parent 87325e6 commit 81ef46f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions stylix/hm/cursor.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ let
in {
imports = [ ../cursor.nix ];

config = mkIf ((builtins.match ".*-linux" "${pkgs.system}") != null) {
config = mkIf pkgs.stdenv.hostPlatform.isLinux {
home.pointerCursor = {
name = "${cfg.name}";
name = cfg.name;
package = cfg.package;
size = cfg.size;
x11 = {
enable = true;
defaultCursor = "${cfg.name}";
defaultCursor = cfg.name;
};
gtk.enable = true;
};
Expand Down
2 changes: 1 addition & 1 deletion stylix/nixos/cursor.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ let
in {
imports = [ ../cursor.nix ];
config = {
environment.variables.XCURSOR_SIZE = "${toString cfg.size}";
environment.variables.XCURSOR_SIZE = toString cfg.size;
};
}

0 comments on commit 81ef46f

Please sign in to comment.