From f486eb48935dbb773bac9f466e8379e0f4a6069d Mon Sep 17 00:00:00 2001
From: Jens Nolte <git@queezle.net>
Date: Fri, 19 Nov 2021 03:54:32 +0100
Subject: [PATCH] Add notcurses-based icat command

---
 layers/zsh.nix | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/layers/zsh.nix b/layers/zsh.nix
index 19bedc4..b5dc585 100644
--- a/layers/zsh.nix
+++ b/layers/zsh.nix
@@ -11,6 +11,8 @@ in
     less
     # required for neovim spellcheck
     aspell
+    # used for icat
+    notcurses
   ];
 
   programs.tmux = {
@@ -44,6 +46,8 @@ in
     la = "ls -la";
     lah = "ls -lah";
 
+    icat = "print; ncplayer -k -t0 -q -b pixel -s none";
+
     # tree configured to ignore .gitignore
     gtree = "${pkgs.tree}/bin/tree --fromfile <(${pkgs.fd}/bin/fd -H -E .git)";
 
-- 
GitLab