diff --git a/home/x/cursor.nix b/home/x/cursor.nix new file mode 100644 index 0000000..0b69d47 --- /dev/null +++ b/home/x/cursor.nix @@ -0,0 +1,17 @@ +{ config, lib, pkgs, ... }: +let + cfg = config.my.home.x.cursor; +in +{ + options.my.home.x.cursor.enable = lib.mkEnableOption "X cursor"; + + config = lib.mkIf cfg.enable { + xsession.pointerCursor = { + package = pkgs.capitaine-cursors; + name = "capitaine-cursors"; + # available sizes for capitaine-cursors are: + # 24, 30, 36, 48, 60, 72 + size = 30; + }; + }; +} diff --git a/home/x/default.nix b/home/x/default.nix index ca92c09..9473fc3 100644 --- a/home/x/default.nix +++ b/home/x/default.nix @@ -1,6 +1,7 @@ { config, lib, pkgs, ... }: { imports = [ + ./cursor.nix ./i3.nix ./i3bar.nix ]; diff --git a/hosts/boreal/home.nix b/hosts/boreal/home.nix index 722eb5f..623800a 100644 --- a/hosts/boreal/home.nix +++ b/hosts/boreal/home.nix @@ -3,6 +3,7 @@ home-manager.users.alarsyo = { # Keyboard settings & i3 settings my.home.x.enable = true; + my.home.x.cursor.enable = true; my.home.emacs.enable = true; my.home.tmux.enable = true; my.theme = config.home-manager.users.alarsyo.my.themes.solarizedLight;