From d58e5b36f05efe8328bbc348bbef2e10bbeee59a Mon Sep 17 00:00:00 2001 From: Johannes Kresner Date: Sun, 16 Aug 2026 18:44:36 +0200 Subject: [PATCH] feat: add cursor --- config/hypr/hyprland.lua | 2 ++ home.nix | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/config/hypr/hyprland.lua b/config/hypr/hyprland.lua index f6d0925..e0a3c74 100644 --- a/config/hypr/hyprland.lua +++ b/config/hypr/hyprland.lua @@ -32,6 +32,7 @@ local powermenu = "qs ipc call powerMenu open" ----------------- hl.on("hyprland.start", function() + hl.exec_cmd("hyprctl setcursor Bibata-Modern-Classic 24") hl.exec_cmd("hypridle") hl.exec_cmd("trayscale --hide-window") hl.exec_cmd("owncloud") @@ -50,6 +51,7 @@ end) hl.env("XCURSOR_SIZE", "24") hl.env("HYPRCURSOR_SIZE", "24") hl.env("XCURSOR_THEME", "Bibata-Modern-Classic") +hl.env("HYPRCURSOR_THEME", "Bibata-Modern-Classic") hl.env("QT_QPA_PLATFORMTHEME", "qt5ct:qt6ct") hl.env("MOZ_ENABLE_WAYLAND", "1") hl.env("XDG_SESSION_TYPE", "wayland") diff --git a/home.nix b/home.nix index e6576a6..05b833c 100644 --- a/home.nix +++ b/home.nix @@ -9,6 +9,18 @@ home.homeDirectory = if pkgs.stdenv.hostPlatform.isDarwin then "/Users/johannes" else "/home/johannes"; home.stateVersion = "24.05"; + + home.pointerCursor = { + enable = true; + name = "Bibata-Modern-Classic"; + package = pkgs.bibata-cursors; + size = 24; + gtk.enable = true; + x11.enable = true; + hyprcursor.enable = true; + hyprcursor.size = 24; + }; + home.packages = with pkgs; [ git curl