feat: add macOS Monterey cursor
This commit is contained in:
parent
9bafd5f618
commit
36f625d387
5 changed files with 56 additions and 72 deletions
9
users/gandalf/modules/gui/cursor.nix
Normal file
9
users/gandalf/modules/gui/cursor.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ pkgs, ... }: {
|
||||
home.pointerCursor = {
|
||||
name = "macOS-Monterey";
|
||||
package = pkgs.apple-cursor;
|
||||
size = 32;
|
||||
gtk.enable = true;
|
||||
x11.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -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) [
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue