diff --git a/apps/ghostty/default.nix b/apps/ghostty/default.nix index ca7fc12..dce2b37 100644 --- a/apps/ghostty/default.nix +++ b/apps/ghostty/default.nix @@ -4,6 +4,7 @@ ... }: { home.packages = [ + # TODO: will rewrite later (pkgs.writeShellScriptBin "tte-loop" '' trap 'printf "\e[?25h"; exit 0' INT printf '\e[?25l' @@ -14,7 +15,7 @@ lines=$(tput lines) effect="''${effects[RANDOM % ''${#effects[@]}]}" printf '\e[?25l' - ${pkgs.terminaltexteffects}/bin/tte --input-file ${config.home.homeDirectory}/.config/nixos/assets/branding.txt --anchor-canvas c --anchor-text c --canvas-width "$cols" --canvas-height "$((lines-1))" --frame-rate 120 "$effect" + ${pkgs.terminaltexteffects}/bin/tte --input-file ${config.home.homeDirectory}/.config/nixos/assets/branding.txt --anchor-canvas c --anchor-text c --canvas-width "$cols" --canvas-height "$((lines-2))" --frame-rate 120 "$effect" printf '\e[?25l' sleep 2 done