From 7e1ca1f3d5b2d71b920f77fc6f45dd1b96c90b94 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 6 May 2021 12:38:42 +0200 Subject: [PATCH] home: x: add cursor I would like to check out alternative themes. Notably Quintom [1], Volantes [2], and Vimix [3]. [1]: https://gitlab.com/Burning_Cube/quintom-cursor-theme [2]: https://github.com/varlesh/volantes-cursors [3]: https://github.com/vinceliuice/Vimix-cursors --- home/x/cursor.nix | 12 ++++++++++++ home/x/default.nix | 1 + 2 files changed, 13 insertions(+) create mode 100644 home/x/cursor.nix diff --git a/home/x/cursor.nix b/home/x/cursor.nix new file mode 100644 index 0000000..4bbff0c --- /dev/null +++ b/home/x/cursor.nix @@ -0,0 +1,12 @@ +{ config, lib, pkgs, ... }: +let + cfg = config.my.home.x; +in +{ + config = lib.mkIf cfg.enable { + xsession.pointerCursor = { + package = pkgs.numix-cursor-theme; + name = "Numix-Cursor"; + }; + }; +} diff --git a/home/x/default.nix b/home/x/default.nix index 086c41b..f021ca0 100644 --- a/home/x/default.nix +++ b/home/x/default.nix @@ -4,6 +4,7 @@ let in { imports = [ + ./cursor.nix ./keyboard.nix ];