diff options
| author | 2025-03-02 11:59:38 +0300 | |
|---|---|---|
| committer | 2025-03-02 11:59:38 +0300 | |
| commit | 4be32e9208803cb0c19b5d395d9fe2624b77832d (patch) | |
| tree | 5e114dcdf876d005d560aa51354353882ac034b1 /user-mora.nix | |
| parent | feat(sapphire): reuse system nixpkgs in command line tools (diff) | |
| download | nixos-configuration-4be32e9208803cb0c19b5d395d9fe2624b77832d.tar.gz nixos-configuration-4be32e9208803cb0c19b5d395d9fe2624b77832d.tar.bz2 nixos-configuration-4be32e9208803cb0c19b5d395d9fe2624b77832d.tar.lz nixos-configuration-4be32e9208803cb0c19b5d395d9fe2624b77832d.tar.xz nixos-configuration-4be32e9208803cb0c19b5d395d9fe2624b77832d.tar.zst nixos-configuration-4be32e9208803cb0c19b5d395d9fe2624b77832d.zip | |
fix(mora): GTK warning on cursor size
Diffstat (limited to 'user-mora.nix')
| -rw-r--r-- | user-mora.nix | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/user-mora.nix b/user-mora.nix index cd3f115..17a7641 100644 --- a/user-mora.nix +++ b/user-mora.nix @@ -68,15 +68,18 @@ gtk.enable = true; gtk.font.name = "DejaVu Sans"; gtk.font.size = 8; - gtk.cursorTheme = { - package = pkgs.catppuccin-cursors.mochaMauve; - name = "catppuccin-mocha-mauve-cursors"; - }; - home.pointerCursor = { - package = pkgs.catppuccin-cursors.mochaMauve; + home.pointerCursor = let + catppuccin-cursors' = pkgs.catppuccin-cursors.overrideAttrs (prev: { + patchPhase = '' + # FIX: GTK3-4 is screaming ;_; + sed -i scripts/build-cursors -e 's/NOMINAL_SIZE=24/NOMINAL_SIZE=32/' + ''; + }); + in { + package = catppuccin-cursors'.mochaMauve; name = "catppuccin-mocha-mauve-cursors"; - size = 32; + size = 24; gtk.enable = true; x11.enable = true; }; |
