r/KittyTerminal

▲ 5 r/KittyTerminal+2 crossposts

Day/Night mode detection

I am working on a simple not so simple script to change the theme of an app based on the OS theme

I use KDE plasma 6.x so i have the day/night cycle, i know that KDE uses knighttimed to manage the day/night switch, but it doesn't have a d-bus api (to my knowledge) and it doesn't set an environment variable related to the current OS mode (day/night)

I use kitty terminal and I know that it can detect the OS theme to apply a specific theme, I know how the `kitten theme` works, but I want to know the logic to how does kitty know when to switch the theme

if there is any other/better way to detect the current mode tell me

u/rami0203 — 2 days ago

I watched a YouTube video on terminal emulators and to my horror I learned that Kitty has built in tiling when I've been using tmux on it this entire time. I fear for my life.

u/dataArchon — 11 days ago

GNU unicode characters are very wide spaced in kitty, how do I solve this?

I installed all the fonts for all the languages form the unicode gnu font page. In installed the font system wide and using kde setting it works good and display all the Japanese and Korean characters. Selecting the base unifont with kitten choose-font gives me this result.

update

I managed to do an hard fix by going to the kitty conf using CTRL + SHIFT + F2, selecting font with space and going down to the line 165 to uncomment the modify_font cell_width and setting it to 50%. Now it displays nice and it also uses it as a fallback for the Japanese characters

u/ErDottorGiulio — 4 days ago

when i was casually using kitty i accidentally pressed ctrl + shift + esc and it popped up this small kitty shell with the kitty logo in the corner

what is it used for ?

u/riky321 — 12 days ago