Commit Graph

63 Commits

Author SHA1 Message Date
Kovid Goyal
867ec83bed Fix use of single instance with detach 2025-04-24 07:17:55 +05:30
Kovid Goyal
bd0116b561 Update docs 2025-04-24 07:07:28 +05:30
Kovid Goyal
fc8cc9cb71 Fix instance group not being passed by panel wrapper 2025-04-24 07:00:50 +05:30
Kovid Goyal
559e8449c5 Allow redirecting to a log file in --detach mode 2025-04-24 06:46:46 +05:30
Kovid Goyal
18d58587fb ... 2025-04-24 06:31:18 +05:30
Kovid Goyal
0c3797ec90 Implement --detach for panel kitten 2025-04-24 06:30:33 +05:30
Kovid Goyal
983e570bbe Update docs to note that macOS is supported by the panel kitten as well 2025-04-23 20:52:11 +05:30
Kovid Goyal
845fc30020 Allow running panel kitten without a cmdline to run 2025-04-23 20:08:54 +05:30
Kovid Goyal
c1b6b4494a Implement starting kitty hidden
Fixes #3466
2025-04-23 08:50:02 +05:30
Kovid Goyal
e93338a81c Start work on macOS support for panel kitten 2025-04-23 07:43:36 +05:30
Kovid Goyal
8b6a210ac1 Allow specifying --listen-on for panel kitten 2025-04-22 14:29:32 +05:30
Kovid Goyal
fc5fc7c9c4 Remote control: Allow modifying desktop panels and showing/hiding OS Windows using the kitten @ resize-os-window command
Also move the visibility toggle debounce into C code with a per OS
Window timer.

Fixes #8550
2025-04-22 13:34:09 +05:30
Kovid Goyal
53d8ca5d3e Add a note for why debounce is needed 2025-04-22 09:06:13 +05:30
Kovid Goyal
604597dba1 ... 2025-04-22 09:00:59 +05:30
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