We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2a2ab6 commit 2a4607dCopy full SHA for 2a4607d
modules/config/cursor.nix
@@ -0,0 +1,14 @@
1
+{
2
+ module-functions,
3
+ pkgs,
4
+ hm,
5
+ ...
6
+}:
7
+module-functions.module null "cursor" (cfg: {
8
+ hm.home.pointerCursor = {
9
+ gtk.enable = true;
10
+ x11.enable = true;
11
+
12
+ inherit (cfg) name size package;
13
+ };
14
+})
options/config/cursor.nix
@@ -0,0 +1,13 @@
+ option-functions,
+ host,
+with option-functions;
+ option null "cursor" {
+ enable = enableOption "cursor" host.isDesktop;
+ name = textOption "cursor name" "Bibata-Modern-Ice";
+ size = numberOption "cursor size" 24;
+ package = packageOption "package providing the cursor theme" pkgs.bibata-cursors;
+ }
0 commit comments