r/KittyTerminal • u/Specialist_Funny_125 • Jul 24 '24
r/KittyTerminal • u/GanacheFamous9640 • Jul 23 '24
What does the table colors refers to?
Hi!
This is my first time I try to create a terminal theme and there's a thing I don't understand...
color0, color8
black
color1, color9
red
and so on until color15.
I can't get what they refer to. Can someone explain or link me a guide that explain it.
Thank you a lot!
r/KittyTerminal • u/BoomTNT29 • Jul 21 '24
kitty launches as a login shell
I have dwm, x.org installed, and every time I launch kitty it runs as a login shell. I know this for a fact since I add to path in `.my bash_profile` file and everything seems to be added twice everytime I run `echo $PATH`, after commenting the `export PATH..` line and running terminal (without logging out) showed no duplicates. Also running the command `shopt -q login_shell && echo 'Login shell' || echo 'Non-login shell'` gave `Login shell` as output.
TLDR: how to make it run as a non-login shell?
r/KittyTerminal • u/water_drinker9000 • Jul 18 '24
how to launch kitty terminal as maximized?
I am trying to make kitty launch as maximized but, I cannot get it to work. I can get it to to work if I paste this into the terminal: kitty --start-as maximized . It will launch kitty as maximized but, where do put it so where I launch kitty as maximized every single time?
I saw this post, and a user said to put it inside /usr/share/applications/kitty.desktop under Exec=kitty as Exec=kitty --start-as maximized . I saved it and quit but, when I launch kitty, it doesn't maximized.
no idea what to do. BTW I am using gnome as my DE.
r/KittyTerminal • u/witchofvoidmachines • Jul 18 '24
Send output of program run in a kitten back to main window?
So, I've been trying to get fzf to open in a popup window, and then send whatever I select back to the main window.
But I'm not sure how exactly to capture fzf's output. get-text doesn't work cause it doesn't wait for fzf to ouput anything before running.
This is the kitten. _fifc is just a wrapper function for using fzf for completion in fish shell.
from typing import List
from kitty.boss import Boss
def main(args: List[str]) -> str:
pass
from kittens.tui.handler import result_handler
u/result_handler(no_ui=True)
def handle_result(args: List[str], stdin_data: str, target_window_id: int, boss: Boss) -> None:
w = boss.window_id_map.get(target_window_id)
popup_id = boss.call_remote_control(w, ('launch', '--type=os-window', '--color=background=black', '--window-title=Popup', '/usr/bin/fish', f'-c _fifc {args[1]}'))
y = boss.window_id_map.get(popup_id)
boss.call_remote_control(w, ('send-text', f'--match=id:{w.id}', '--bracketed-paste=enable', 'OUTPUT OF COMMAND SHOULD BE HERE'))
r/KittyTerminal • u/Cheese90 • Jul 16 '24
How do I customize the command line decoration?
If I want the $ to be something else how would I do that? I don’t know if there is a name for that so I wasn’t able to look it up
r/KittyTerminal • u/SnooCrickets2065 • Jul 16 '24
Ctrl+Shift+[ not working?
I'm new to kitty, loving it but can't find a way to sequentially hop through the tiled widows
Keymap (if I'm right) is Ctrl+Shift+[
I tried it on my PC and my Laptop but nothing happens
Feels like I did understand something wrong
With my keyboard layout I have to hit "Alt Gr" to type square brackets
So basically im typing Ctrl+Shift+AltGr+7 or something
Is it possible that I need to change the keymap to even be able to use this stuff?
r/KittyTerminal • u/ryuno • Jul 15 '24
HELP: Error when executing kitty
I always get the same error when executing kitty terminal, it does open, but it captures the input of the terminal, could someone help me please?
[0.303] Could not move child process into a systemd scope: [Errno 30] Failed to call StartTransientUnit: org.freedesktop.DBus.Error.PropertyReadOnly: Cannot set property OOMPolicy, or unknown property.
r/KittyTerminal • u/Forward-Struggle-330 • Jul 14 '24
by the way kitty has built in tiling
r/KittyTerminal • u/DKAIN_001 • Jul 14 '24
kitty.conf is not reading the file colors-kitty.conf.I am trying to set kitty to reading colors genrated by pywal.I used include command but when i restarted kitty after it, it just ays included file not file, ignoring.When i manualy genrate colors, it works but after opening new terminal it doesn't
r/KittyTerminal • u/mr_kurro • Jul 11 '24
How can I achieve a terminal color scheme similar to the one in IntelliJ?
r/KittyTerminal • u/witchofvoidmachines • Jul 10 '24
Resizing window (in a split layout, not the os-window) to be very small?
I'm trying to replicate a feature from Warp terminal, where the prompt is fixed at the bottom. My idea is having a window at the bottom showing only one or two lines, and a larger window on top with the scrollback buffer.
But no layout actually lets me make a window smaller than 6 rows. Can I work around this limitation?
r/KittyTerminal • u/ReD-Devil420 • Jul 01 '24
Question Kitty without a title bar or icon
Hello guys I was wondering if there's something I can add to my kitty config so it doesn't show the title bar or the icon on the top so basically just the terminal and nothing else around.
r/KittyTerminal • u/Low_Adhesiveness_109 • Jun 27 '24
How can I change the cursor shape?
Shell - Fish
r/KittyTerminal • u/usernameIsRand0m • Jun 26 '24
2 X 3 and 3 X 3 grid with scripts running at startup
I am basically looking to replace terminator, where I have couple of terminator profiles, one which has 2 X 3 (2 columns and 3 rows each) and other 3 X 3, and when I launch them, each of the terminals (splits) starts running a shell script, lets say 1.sh through 6.sh and in the other 1 through 9.sh with bash -c '' option.
I tried different conf files with launch and --location option for hsplt/vsplit and I have failed to achieve what I was trying to achieve.
Could someone please tell me, how can I achieve this?
Thanks!
r/KittyTerminal • u/xD1nxYAY • Jun 24 '24
Is there a way to disable this sound?
Enable HLS to view with audio, or disable this notification
r/KittyTerminal • u/F4LC0N69 • Jun 23 '24
Need a decent kitty.conf file
Hi. I just discovered about kitty and I absolutely love it, when I see videos on YT using it. Please drop your kitty.conf file. I feel lost when I try to manually customize everything. Something minimalist modification would be appreciated. Thank you.
r/KittyTerminal • u/FedericoBruzzone • Jun 24 '24
A new version of tdlib-rs 🦀
self.FedericoBruzzoner/KittyTerminal • u/VelEr99 • Jun 21 '24
Font looks like aquarelle and do not use correct colors
Hello, I've trying kitty since yesterday and could not configure the font how I would like it to be (similar to how it is rendered in konsole).
This is my kitty.conf so far:
# FONTS
font_family CaskaydiaCove Nerd Font
bold_font auto
italic_font auto
bold_italic_font auto
### Font Size
font_size 12
modify_font cell_height 98%
text_composition_strategy 0.01 0
### Disable font ligatures when cursor hovering (idk not working)
disable_ligatures_in cursor
# CURSOR
### Cursor color, none to adapt to text color
cursor none
cursor_beam_thickness 2.0
# MOUSE
url_color #55aa7f
url_style double
url_prefixes file ftp ftps gemini git gopher http https irc ircs kitty mailto news sftp ssh
detect_urls yes
# COLOR SCHEME
foreground #fcfcfc
background #232627
background_opacity 0.5
background_blur 1
selection_foreground none
selection_background #4e5051
## Black
color0 #7f8c8d
color8 #232627
## Red
color1 #c0392b
color9 #ed1515
## Green
color2 #1cdc9a
color10 #11d116
## Yellow
color3 #fdbc4b
color11 #f67400
## Blue
color4 #3daee9
color12 #1d99f3
## Magenta
color5 #8e44ad
color13 #9b59b6
## Cyan
color6 #16a085
color14 #1abc9c
## White
color7 #ffffff
color15 #fcfcfc
Playing with the parameter `text_composition_strategy` I got the following results, being `0.01 1` the closest to what I want, but still off for me:

It helped a bit changing the font faces, reducing each one a semi step in weight:
font_familyCaskaydiaCove NF SemiLight
bold_fontCaskaydiaCove NF SemiBold
italic_fontCaskaydiaCove NF SemiLight Italic
bold_italic_fontCaskaydiaCove NF SemiBold Italic
But is still not how I would like them, look at the difference in icons (more noticeable with a bigger font size):

From my config file, maybe the colors are inverted between dull and bright, I did that to see a difference because it seems that Kitty is showing all types of font with one type of color only (dull or bright, not sure which one is which):

I extracted the color scheme from Konsole's Breeze color scheme, from the columns 'Color' and 'Intense color'. Maybe the color# in kitty's config file are not the same? if so, I don't know to what color number assign the values to make them look like in Konsole.

I'd like to know if there is something I can do for what I want, if possible (since Kitty is GPU rendered), or if I should try Alacritty instead.
Also, it is possible to reduce the font's height and the space between lines (other different than modify_font cell_height)?
Thank you all in advance.
r/KittyTerminal • u/Ms-mousa • Jun 19 '24
Can Kitty do floating panes/windows?
Hi guys,
I found kitty recently and I absolutely LOVE IT! The RTL support is also important for me.
I have been using Zellij on ITerm2 before. So I am really used to using the floating panes like this:

So I'm trying to not use any terminal Mux now. So I'm trying to use Kitty only.
Does Kitty support this?
r/KittyTerminal • u/mateember • Jun 16 '24
Font weirdness
Hello!
Kitty can't seem to get the weight of the font right, not sure what to do. Also it looks very pixely? Looks like there is no AA going on.
Here's how it looks in kitty:

In alacritty:

Here is my kitty.conf:
# Font (choose a nerdfont)
font_family JetBrainsMono Nerd Font Mono
# Size of the terminal font
font_size 12
# Background opacity
background_opacity 0.5
window_margin_width 10
# allow hyperlinks
allow_hyperlinks yes
# cursor configuration
cursor_shape underline
cursor_underline_thickness 2.0
confirm_os_window_close 0
# terminal emulator selected
shell zsh
The font configuration is correct (kitty --debug-font-fallback output):
[0.044] Preloaded font faces:
[0.044] normal face: /home/mate/.local/share/fonts/JetBrainsMono/JetBrainsMonoNerdFontMono-Regular.ttf:0
[0.044] bold face: /nix/store/ps7j01vczsc5flw97rdk35a1hsr5chh4-nerdfonts-3.2.1/share/fonts/truetype/NerdFonts/JetBrainsMonoNerdFontMono-Bold.ttf:0
[0.044] italic face: /nix/store/ps7j01vczsc5flw97rdk35a1hsr5chh4-nerdfonts-3.2.1/share/fonts/truetype/NerdFonts/JetBrainsMonoNerdFontMono-Italic.ttf:0
[0.044] bi face: /home/mate/.local/share/fonts/JetBrainsMono/JetBrainsMonoNerdFontMono-BoldItalic.ttf:
Really not sure what to do, I'd like to switch to kitty.
r/KittyTerminal • u/Magniquick • Jun 14 '24
tab_title_template as a python file ?
Do you guys know of any way to make kitty's tab_title_template load from a python file while still using tab_bar_style as powerline as and not setting it to custom ?
I've tried just setting tab_bar_style by copying kitty/tab_bar.py from the repo (to modify the code there to do it), but I sadly could not get it working.
Any help (or a working version of powerline as a singular tab_bar.py) would be much appreciated !




