r/KittyTerminal • • 23h ago

How to remove "xxx by xx cells" in kitty when resizing window

0 Upvotes

I know this is a really minor thing but I couldn't find anywhere that had an answer, Does kitty have an option to remove this? If its not clear In the video i'm referring to the popup in the middle of the window. So far I've tried resize_draw_window_borders with the options static, none etc. None of those worked, I also tried to remove window decorations but that didn't work either, I'm pretty sure this is kitty's fault because it does this on both Mangowm and Hyprland.


r/KittyTerminal • • 1d ago

How to restore files from trash?

0 Upvotes

When I delete some file, and try to navigate to trash by pressing `"g", "t"` and then try to yank it to other folder, it generates an empty file instead of the original file.

How can I properly restore a file to its original location?


r/KittyTerminal • • 2d ago

Shader help please

Post image
11 Upvotes

Real wanted to add a little bit more flavor to my terminal and finally sat down to tweak it. Upgraded, updated, and a slight brick wall. Do I need to build them from to repo or something. figured I'd ask the people before the AIs.


r/KittyTerminal • • 3d ago

Terminal for widgets

8 Upvotes

I want to make as many things on my desktop ether a terminal, rofi menu or last resort quickshell menu. So for example if i click the time on my bar, i would like for a small terminal with a calendar program running in it. Is there a way to do this with kitty? This example is probably not the best, but it would be a starting point. Any tips?


r/KittyTerminal • • 3d ago

None of my config changes are seeming to apply

1 Upvotes

Hello! I'm super new to linux and am running into issues with Kitty.

I open the config in vim like normal (ctrl+shift+f2), and then make changes and save. I reopen kitty and nothing has changed. Shell integration is enabled, would that be the cause?

distro: EndeavourOS


r/KittyTerminal • • 3d ago

[Tool] Fluffy Maker – Interactive WebGL2 squishy physics overlay for Hyprland (slurp + grim + webkit2gtk)

8 Upvotes

r/KittyTerminal • • 3d ago

Retro Terminals with Neovim + Kitty

Thumbnail
youtube.com
46 Upvotes

r/KittyTerminal • • 5d ago

Kitty 0.51 adds a dock that stays visible in every tab

61 Upvotes

Kitty 0.51.0 was released on November 18, two weeks after 0.50.

The main change is a new dock type. launch --type=os-window-dock attaches a window to an edge of the OS window, below the tab bar. The dock is shown in every tab of the OS window. You can resize it by dragging its inner border or with the resize_window action and kitten @ resize-window. It suits a status display or a monitoring tool you want to keep in view.

Custom shaders get screen-shake effects that shake a window on bell. They also get new events and uniforms for command start and finish and for alternate screen enter and exit. A new launch_wrapper.py file in the kitty config directory lets you run programs in new windows through a wrapper command. One use is opening new windows inside the same container as the window they came from.

Some fixes matter for daily use. The display no longer fails to update while idle after timers or mouse actions. The scrolled back view no longer jumps when new output arrives. Tabs and windows moved with detach_tab, detach_window or drag and drop no longer lose their session.

There are also security fixes. A program in the terminal could hang kitty by using edit-in-kitty to set a window logo to a special file such as /dev/zero. Logos and background images must now be regular files.

Changelog: https://sw.kovidgoyal.net/kitty/changelog/#detailed-list-of-changes

Linuxiac: https://linuxiac.com/kitty-0-51-terminal-emulator-adds-docked-windows-new-shaders/


r/KittyTerminal • • 7d ago

Frosted Glass in Kitty hyprland

Thumbnail github.com
8 Upvotes
Frosted Glass in Kitty hyprland

Frosted glass setup for Kitty + Hyprland on Arch Linux. Includes an installer.

https://github.com/Spacehat123/Kitty-Frosted-Glass.git


r/KittyTerminal • • 8d ago

Kitty terminal & fish shell.

Thumbnail
reddit.com
5 Upvotes

r/KittyTerminal • • 8d ago

Bouncing balls Inside Neovim (Kitty graphics protocol)

3 Upvotes

r/KittyTerminal • • 9d ago

GT San Andreas in a terminal emulator

115 Upvotes

Just testing the limits of what is possible here using the kitty graphics protoccol on ghostty. This is actually just the original ps2 game decompiled to C++ and recompiled into wasm using the ps2 runtime from https://github.com/snuri00/ps2-web-recomp...

But that is not what we care about here!

katnav is a experimental webbrowser using CEF (because nothing else would run gta on terminal so well so I just used chromium) and kitty graphics protccol: https://github.com/h4ks-com/katnav

I did this as a way of testing a graphics/game-engine/ui lib I am working on: https://github.com/h4ks-com/katui

Chrome renders WebGL normally and katui will convert it into rectangular tiles that we dynamically downscale in resolution, diff trying to update only what changed (which makes some sense for UIs but not as much for a game stream like that), compresses and base64 it in parallel. Most of the heavy lifting is done by the library itself.

According to my benchmarks I can get 36MB/s on kitty allowing 32 fps, while for ghostty 85 MB/s allowing 61 fps when 100% of the tiles change. Of course this varies between harware.

And yes you can use katnav for browsing the normal web, it is an actual browser, check the github ;)

I am making this experiment mostly for fun, so it is pretty much fully vibecoded, but I tried to keep the maximum architetrual overview and coverage with static analysis checks. Feel free to reach me out if you find this interesting and would like to bring it further. In theory now I could put any graphical application in the terminal. Not sure if someone has already done that?


r/KittyTerminal • • 9d ago

ytk: browse and watch YouTube from the terminal, with thumbnails in kitty (Python + yt-dlp + mpv)

Post image
7 Upvotes

I wanted to search and watch YouTube without leaving the terminal, but most TUI clients show only text. ytk uses kitty's graphics protocol to draw a 3×3 grid of thumbnails, then plays the video with mpv.

What it does

- Search videos, playlists, or both mixed in (like the website)

- Open a video's channel and switch between its videos and playlists

- Info panel: channel and subscribers, views, likes, date, resolution, description

- Play whole playlists and YouTube Mixes; jump to any song while one is playing

- Resume where you left off, plus a history

- Download audio or video in the background, and play the local file afterwards

- English and Spanish interface (follows your system language, space L toggles it)

- It also works inside zellij

How it works

It's a single small Python package with no dependencies besides what you probably already have: yt-dlp for search and metadata, mpv for playback, and kitty for the images. It's driven by a LazyVim-style leader key: press space and a menu shows the available actions, so you don't have to memorize anything.

git clone https://github.com/anton-arck/ytk.git ~/.local/share/ytk

ln -sf ~/.local/share/ytk/bin/ytk ~/.local/bin/ytk

ytk arch linux

Caveats

- You need kitty (or a terminal that supports its graphics protocol).

- It relies on yt-dlp, which reads YouTube without an official API. When YouTube changes something it can break until yt-dlp is updated, so update yt-dlp first if something fails.

- Linux only so far; I've only tested it on Arch (sway).

It's MIT licensed. Feedback, bug reports and ideas are very welcome, especially from people on other distros or terminals.

Repo: https://github.com/anton-arck/ytk


r/KittyTerminal • • 10d ago

Kitty graphics protocol in Neovim (Basics with examples)

Thumbnail
youtube.com
45 Upvotes

The Kitty Graphics Protocol has been adopted by many terminal applications. Neovim 0.13 also uses it to display images.

In this video, I'll explain the basics of the Kitty Graphics Protocol and how to use it with Neovim and Lua.

I'll cover:

  • How communication between Neovim and Kitty works.
  • The structure of Kitty escape sequences.
  • How to send escape sequences using the Neovim API.

Examples:

  • Draw a pixel.
  • Draw basic shapes.
  • Change the cursor position.
  • Clear the screen.
  • Create basic animations.
  • Create a basic sprite animation.

Even though I'll be using Lua and Neovim, I'll explain the protocol itself so you can transfer this knowledge to your favorite programming language.

Source code:
https://github.com/FractalCodeRicardo/dev-config/tree/master/nvim/lua/my/kitty-protocol


r/KittyTerminal • • 11d ago

Small gap when using nvim

Post image
5 Upvotes

Sorry if this is the wrong place to post this.

When i enter neovim, there is a small gap, i tried setting window_padding_width to 0, a bunch of other stuff too, but I cant get it to work, im new to this, can anyone help me?


r/KittyTerminal • • 15d ago

Coding a Mandelbulb screensaver Kitty shader

Thumbnail
youtu.be
17 Upvotes

A few days ago, I created a Mandelbulb fractal using C, Raylib, and GLSL. Now I want to bring it to my terminal using a Kitty shader.

In this video, I'll use my original GLSL code as a starting point and adapt it to work as a Kitty terminal shader.

I'll explain the code, explore some raymarching techniques, and share the references I used along the way.

Source code:
https://github.com/FractalCodeRicardo/dev-config/blob/master/kitty/shaders/mandelbulb.slang


r/KittyTerminal • • 16d ago

The Quantum PhD Gigalord strikes again!

Thumbnail
youtu.be
15 Upvotes

r/KittyTerminal • • 19d ago

file-browser-tui (kitty+ratatui)

Post image
20 Upvotes

r/KittyTerminal • • 20d ago

Notch app that tracks coding agents running in kitty

6 Upvotes

I run Claude Code and Codex in kitty windows and kept missing when one was waiting for me. So I built Openbar: every session sits in one list in the notch, the one that needs you jumps to the top, and "Open" takes you straight to the right kitty window. You can also send a reply from there.

Free, open source: https://github.com/MF-DEEV/Openbar


r/KittyTerminal • • 20d ago

why does clear_terminal not repaint prompt

1 Upvotes

i was surprised at clear commands (to clarify, /usr/bin/clear) behavior in kitty, unique and grounded in reason so i wont debate it. but neither of the "stronger" clear_terminal variants (clear active and reset active) that reset the scrollback repaint the prompt afterward. of course, the workaround for this was binding this little fish function to a key, but

function __s_clear_screen_and_scrollback
  printf "\e\[H\e\[3J"
  commandline -f repaint
end

but im more curious how this kitty behavior is considered normal?


r/KittyTerminal • • 21d ago

Configuración de Fastfetch + Kitty con temática de Ado y Bash predictivo

Thumbnail gallery
9 Upvotes

r/KittyTerminal • • 22d ago

Kitty 0.50.0 Released

Thumbnail
sw.kovidgoyal.net
129 Upvotes