From 326c2c3127b76e37b4ec17206afbea103572440a Mon Sep 17 00:00:00 2001 From: willifan Date: Mon, 20 May 2024 17:07:07 +0200 Subject: [PATCH] fixed cursor environment variables --- users/willifan/graphical/hyprland/hyprland.nix | 5 ----- users/willifan/graphical/theme/cursor.nix | 8 +++++++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/users/willifan/graphical/hyprland/hyprland.nix b/users/willifan/graphical/hyprland/hyprland.nix index 7fe54a0..e3f6a11 100644 --- a/users/willifan/graphical/hyprland/hyprland.nix +++ b/users/willifan/graphical/hyprland/hyprland.nix @@ -32,11 +32,6 @@ xwayland.force_zero_scaling = true; - env = [ - "XCURSOR_SIZE, 24" - "HYPRCURSOR_SIZE,24" - ]; - input = { kb_layout = "de"; kb_variant = ""; diff --git a/users/willifan/graphical/theme/cursor.nix b/users/willifan/graphical/theme/cursor.nix index 3613e91..0da61b1 100644 --- a/users/willifan/graphical/theme/cursor.nix +++ b/users/willifan/graphical/theme/cursor.nix @@ -1,11 +1,17 @@ { pkgs, home-manager, ... }: { + + environment.sessionVariables = { + XCURSOR_SIZE = "18"; + HYPRCURSOR_SIZE = "18"; + }; + home-manager.users.willifan = { home.pointerCursor = { gtk.enable = true; name = "Bibata-Modern-Classic"; package = pkgs.bibata-cursors; - size = 16; + size = 18; }; }; } \ No newline at end of file