feat: add macOS Monterey cursor

This commit is contained in:
Jacob Bachmann 2024-04-19 18:58:01 +02:00
parent 9bafd5f618
commit 36f625d387
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
5 changed files with 56 additions and 72 deletions

View file

@ -0,0 +1,9 @@
{ pkgs, ... }: {
home.pointerCursor = {
name = "macOS-Monterey";
package = pkgs.apple-cursor;
size = 32;
gtk.enable = true;
x11.enable = true;
};
}

View file

@ -3,6 +3,7 @@
imports = with lib; with nixosConfig.bchmnn;
optionals gui.enable [
./ags
./cursor.nix
./gtk.nix
./programs
] ++ optionals (gui.enable && elem "sway" gui.flavour) [

View file

@ -68,6 +68,13 @@ in
disable_logs = false;
};
env = with lib; with nixosConfig.bchmnn; [
# "HYPRCURSOR_THEME,hypr-macOS-Monterey"
# "HYPRCURSOR_SIZE,32"
"XCURSOR_THEME,macOS-Monterey"
"XCURSOR_SIZE,32"
"CLUTTER_BACKEND,wayland"
"GDK_BACKEND,wayland"
"GDK_DPI_SCALE,1"