Commit Graph

49 Commits

Author SHA1 Message Date
Kovid Goyal
f319ef6cbb Debounce visibility toggle events
Fixes #8557
2025-04-22 08:58:44 +05:30
Kovid Goyal
2566a79472 Fix #8558 2025-04-22 07:37:42 +05:30
Kovid Goyal
85d58de035 kitty can finally natively implement a quake like terminal dropdown
Currently Wayland (except for GNOME as usual) only.
2025-04-21 20:28:56 +05:30
Kovid Goyal
9b5d5bf678 Implement single-instance for panel kitten 2025-04-21 16:55:55 +05:30
Kovid Goyal
0ad989f71d Add alias for --class 2025-04-21 15:50:40 +05:30
Kovid Goyal
9329850184 panel kitten: Allow specifying panel size in pixels in addition to cells 2025-04-21 13:08:19 +05:30
alex-huff
bd8e6a8ffc panel: Fixed initial_window_size for --edge=none 2025-03-07 21:05:30 -06:00
alex-huff
9e12819f65 panel: Use columns instead of lines for initial window size of
vertical panels
2025-03-07 21:05:26 -06:00
Kovid Goyal
4d27b4766e Cleanup previous PR 2025-03-08 08:11:34 +05:30
alex-huff
537000dfc0 ... 2025-03-07 11:18:18 -06:00
alex-huff
9188d6a664 Wayland: added --edge=center option for panel kitten 2025-03-07 11:11:07 -06:00
Kovid Goyal
c3e20dbc40 Fix #8408 2025-03-07 16:06:03 +05:30
Kovid Goyal
da1626090a Update codebase to Python 3.10 using pyupgrade 2025-02-03 10:56:50 +05:30
Kovid Goyal
826a869c96 Cleanup previous PR 2024-11-25 11:33:38 +05:30
Robin Carlier
2005069f90 Panel: fix height, exclusive zone flag, better helptext 2024-11-24 10:48:37 +01:00
Robin Carlier
00d67a6557 Panel: add focus-policy option 2024-11-23 21:07:57 +01:00
Robin Carlier
5f1c603220 Panel: add options for margin 2024-11-23 21:07:57 +01:00
Robin Carlier
ce2bcbb92d Panel: add a edge=none option 2024-11-23 21:07:57 +01:00
Robin Carlier
4eb8e6052f Panel: choose the display layer 2024-11-23 21:07:57 +01:00
Kovid Goyal
512d6bd308 Simplify panel check
We only dont work on macOS. So dont need to check or DISPLAY env vars
since all other display servers are supported.
2024-05-17 19:43:16 +05:30
Harsh Sharma
a00a371b20 Add check for wayland display env for panel kitten
panel kitten previously checked only for DISPLAY env variable,
but a wayland session has WAYLAND_DISPLAY env set.
Due to this wayland sessions without xwayland could not run panel
kitten.
2024-05-17 19:26:43 +05:30
Kovid Goyal
b0d29e7348 Add a note that sway bg covers kitten bg 2024-03-31 12:20:45 +05:30
Kovid Goyal
3adf05244d Allow using --debug-rendering with panel kitten 2024-03-25 13:56:35 +05:30
Kovid Goyal
0b6943fb5a ... 2024-03-24 20:48:20 +05:30
Kovid Goyal
333ea519ed Infrastructure to go from panel CLI opts all the way to wayland layer shell implementation 2024-03-24 20:48:20 +05:30
Kovid Goyal
017947de7f panel kitten: Fix rendering with non-zero margin.padding in kitty.conf
Fixes #6923
2023-12-17 11:12:49 +05:30
Kovid Goyal
70bc4f1033 Generate man pages for kitten and all its sub-commands recursively
Fixes #6808
2023-11-11 17:09:23 +05:30
Kovid Goyal
77292a16d6 Make shebangs consistent
Follow PEP 0394 and use /usr/bin/env python so that the python in the
users venv is respected. Not that the kitty python files are meant to be
executed standalone anyway, but, whatever.

Fixes #6810
2023-11-11 08:32:05 +05:30
Kovid Goyal
7fe5d7b58f Replace isort with ruff 2023-01-09 16:47:42 +05:30
Kovid Goyal
98eacb2067 panel kitten: Do not depend on xprop 2022-09-24 15:44:54 +05:30
Kovid Goyal
2cef9abbd3 Get rid of one call to xprop in the panel kitten 2022-09-24 15:17:11 +05:30
Kovid Goyal
5b8aca3a2f Use an f-string 2022-01-10 08:35:43 +05:30
Kovid Goyal
b22bda3cba Add more type annotations 2021-10-27 11:36:34 +05:30
Kovid Goyal
6546c1da9b run pyupgrade to upgrade the codebase to python3.6 2021-10-21 12:43:55 +05:30
Kovid Goyal
fbcdf352ac Allow resizing of OS Window framebuffers to a single cell
This is much smaller than before and essentially works around the issue
of the text being scaled when the window is resized to small sizes. Also
has the nice side effect of making the code simpler for the panel
kitten. Fixes #3307
2021-02-14 22:17:41 +05:30
Kovid Goyal
ad09ccb0f2 Panel kitten: Allow setting WM_CLASS
Fixes #3233
2021-01-12 04:49:45 +05:30
Kovid Goyal
55e15dc79e Properly type check os window initial size function
Also use the sizes specified int he session file in preference to those
specified on the command line. Fixes #2909
2020-08-11 09:28:53 +05:30
Kovid Goyal
149ae2866a more typing work 2020-03-12 08:10:51 +05:30
Kovid Goyal
9b32f18109 Refactor remote control commands into individual modules
Also add type information
2020-03-08 08:39:26 +05:30
Kovid Goyal
1e998b6a3f Use mypy in daemon mode 2020-03-05 20:38:51 +05:30
Kovid Goyal
f05890719d Add type checking for the various CLI options objects 2020-03-05 15:47:12 +05:30
Kovid Goyal
64b497589f Start adding typing info 2020-03-03 14:31:25 +05:30
Nathan DECHER
6742fabfba fix kitty +kitten panel -c <config> resulting in no config at all 2019-12-18 00:33:40 +01:00
Kovid Goyal
277f43aed6 Linux: Disable the Wayland backend on GNOME
GNOME has no support for server side decorations.
Can be controlled by new option linux_display_server.
2019-06-04 19:10:13 +05:30
Luflosi
a792c94ccf Use python3 shebang for all python scripts
Fixes #1624.
Use python3 shebang for all python scripts as python still defaults to python2 on many systems.
2019-05-20 14:44:24 +02:00
Kovid Goyal
2550bc910d Fix specifying initial window size in cells not working correctly on HiDPI screens
Fixes #1444
2019-03-06 21:23:54 +05:30
Kovid Goyal
59f39ae3ab Fix detection of xprop on systems with older xprop
Fixes #798
2018-08-08 15:31:15 +05:30
Kovid Goyal
9a615efa83 Document CLI of panel kitten 2018-06-02 12:24:21 +05:30
Kovid Goyal
ec0edd6f45 A new kitten to draw dock panels on X11 desktops showing the output from running arbitrary terminal programs 2018-06-02 11:27:01 +05:30