ghostty: add cursor shader
This commit is contained in:
@@ -1,11 +1,23 @@
|
|||||||
{
|
{ config, pkgs, ... }: let
|
||||||
|
ghosttyWithGL = (config.lib.nixGL.wrap pkgs.ghostty);
|
||||||
|
shaders = pkgs.fetchFromGitHub {
|
||||||
|
owner = "sahaj-b";
|
||||||
|
repo = "ghostty-cursor-shaders";
|
||||||
|
rev = "06d4e90fb5410e9c4d0b3131584060adddf89406";
|
||||||
|
hash = "sha256-G/UIr1bKnxn1AcHl/4FL/jou6b7M2VeREslYVELxdmw=";
|
||||||
|
};
|
||||||
|
in {
|
||||||
programs.ghostty = {
|
programs.ghostty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
|
package = ghosttyWithGL;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
confirm-close-surface = false;
|
confirm-close-surface = false;
|
||||||
copy-on-select = false;
|
copy-on-select = false;
|
||||||
title-report = true;
|
title-report = true;
|
||||||
|
|
||||||
|
custom-shader = "${shaders}/cursor_warp.glsl";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user