mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-05-21 13:52:34 +02:00
cursor animations
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -1,3 +1,12 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
let
|
||||||
|
cursorShaders = pkgs.fetchFromGitHub {
|
||||||
|
owner = "sahaj-b";
|
||||||
|
repo = "ghostty-cursor-shaders";
|
||||||
|
rev = "06d4e90fb5410e9c4d0b3131584060adddf89406";
|
||||||
|
hash = "sha256-G/UIr1bKnxn1AcHl/4FL/jou6b7M2VeREslYVELxdmw=";
|
||||||
|
};
|
||||||
|
in
|
||||||
{
|
{
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
TERMINAL = "ghostty";
|
TERMINAL = "ghostty";
|
||||||
@@ -18,6 +27,8 @@
|
|||||||
clipboard-write = "allow";
|
clipboard-write = "allow";
|
||||||
copy-on-select = "clipboard";
|
copy-on-select = "clipboard";
|
||||||
app-notifications = false;
|
app-notifications = false;
|
||||||
|
custom-shader = "${cursorShaders}/cursor_warp.glsl";
|
||||||
|
custom-shader-animation = "always";
|
||||||
keybind = [
|
keybind = [
|
||||||
"ctrl+j=goto_split:left"
|
"ctrl+j=goto_split:left"
|
||||||
"ctrl+i=goto_split:up"
|
"ctrl+i=goto_split:up"
|
||||||
|
|||||||
Reference in New Issue
Block a user