2024-07-27 21:31:56 +00:00
# McMojave-hyprcursor
2024-07-27 23:07:24 +00:00
The [McMojave cursor theme ](https://github.com/vinceliuice/McMojave-cursors ), created by [vinceliuice ](https://github.com/vinceliuice ) and ported to `hyprcursor` .
2024-07-27 21:31:56 +00:00
2024-07-27 23:52:38 +00:00
## Preview

2024-07-27 21:31:56 +00:00
## Installation
#### General
2024-07-27 23:07:24 +00:00
Downlaod the latest [release ](ttps://github.com/Libadoxon/mcmojave-hyprcursor/releases ) and the place the files into `~/.local/share/icons` or `~/.icons` . After that set the `HYPRCURSOR_THEME` variable to `McMojave` or `McMojave` in your `hyprland` config
2024-07-27 21:31:56 +00:00
```hyprlang
2024-07-27 23:07:24 +00:00
env = HYPRCURSOR_THEME,McMojave
2024-07-27 21:31:56 +00:00
```
#### NixOs
Add `mcmojave-hyprcursor` to your flake inputs. A basic flake would look like this
```nix
{
description = "Basic System Flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
hyprland = {
type = "git";
url = "https://github.com/hyprwm/Hyprland";
submodules = true;
};
# Add this line
# vvvvvvv
mcmojave-hyprcursor.url = "github:libadoxon/mcmojave-hyprcursor";
};
outputs = { self, nixpkgs, ... } @inputs: {
nixosConfigurations = {
exampleSystem = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
./configuration.nix
];
};
};
}
```
After that install the wanted theme in your `configuration.nix` or `home.nix`
```nix
# configuration.nix
{ pkgs, inputs, ... }: {
...
environment.systemPackages = [
2024-07-27 23:07:24 +00:00
inputs.mcmojave-hyprcursor.packages.${pkgs.stdenv.hostPlatform.system}.default
2024-07-27 21:31:56 +00:00
];
...
}
```
```nix
# home.nix
{ pkgs, inputs, ... }: {
...
home.packages = [
2024-07-27 23:07:24 +00:00
inputs.mcmojave-hyprcursor.packages.${pkgs.stdenv.hostPlatform.system}.default
2024-07-27 21:31:56 +00:00
];
...
}
```
Set the environment variable so `hyprcursor` knows to use the the newly added theme. You can do this in your `NixOs` configuration
2024-08-05 01:50:48 +00:00
```nix
2024-07-27 21:31:56 +00:00
# configuration.nix
{ ... }: {
...
2024-07-27 23:07:24 +00:00
environment.variables.HYPRCURSOR_THEME = "McMojave";
2024-07-27 21:31:56 +00:00
...
}
```
2024-08-05 01:50:48 +00:00
```nix
2024-07-27 21:31:56 +00:00
# home.nix
{ ... }: {
...
2024-07-27 23:07:24 +00:00
home.sessionVariables.HYPRCURSOR_THEME = "McMojave";
2024-07-27 21:31:56 +00:00
...
}
```
2024-07-27 23:07:24 +00:00
or by appending `env = HYPRCURSOR_THEME,McMojave` to your `hyprland` config