feat: add cursor

This commit is contained in:
johannes committed 2026-08-16 18:44:36 +02:00
1 parent 7115fc5928
commit d58e5b36f0
2 files changed
+14

No files matched your search

+2
View File
@@ -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")
+12
View File
@@ -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