Commit graph

90 commits

Author SHA1 Message Date
Kovid Goyal
8b8918ee4b
Have toggling the quick access terminal via the kitten also move it to the active monitor 2025-09-23 07:31:42 +05:30
Kovid Goyal
41f6b443e6
Fix #9007 2025-09-22 13:20:41 +05:30
alex-huff
508df554ce fix 'incrementally_update_layer_shell_config' 2025-09-22 02:09:53 -05:00
Kovid Goyal
b9a8b64b32
Refactor previous PR
Move code to incrementally update lsc config into the kitten module do
that it is more likely to stay in sync with any future changes to the
kitten cli.
2025-09-22 11:54:23 +05:30
alex-huff
0daab6ab43 resize-os-window: fix '--incremental' option of 'os-panel' action
This commit addresses a few issues with the implementation of
'--incremental':
    - Unspecified settings are reset to their default value, which
      defeats the purpose of the option.
    - It is assumed that the names of options in 'LayerCLIOptions' map
      one to one with the names of fields in 'LayerShellConfig' but this
      isn't true. For example: The 'margin_top' cli option sets the
      'requested_top_margin' layer shell config.
    - When some options are set to a certain value, they force other
      options to be some value. The current implementation doesn't
      account for this.
    - The documentation is contradictory.
2025-09-22 00:10:42 -05:00
Kovid Goyal
508ca700d8
Fix #8998 2025-09-21 10:10:51 +05:30
Kovid Goyal
e7514c68ae
Fix updating panel configuration on visibility toggle and via remote control not working
Fixes #8984
2025-09-20 05:15:50 +05:30
Kovid Goyal
9393eeb442
Fix #8984 2025-09-19 12:50:00 +05:30
Kovid Goyal
b01b73a8e5
Add --debug-input for panel and quick access terminals 2025-07-12 07:29:42 +05:30
Kovid Goyal
197cfbc1b1
DRYer 2025-05-20 11:16:49 +05:30
Kovid Goyal
95c6279bdd
Implement --grab-keyboard
Currently works on Wayland.
2025-05-18 14:30:33 +05:30
Kovid Goyal
c861259e3b
Rename go module from kitty -> github.com/kovidgoyal/kitty
Makes the code more easily re-useable in other projects
2025-05-16 08:43:39 +05:30
Kovid Goyal
6282a46ff1
A new centered panel type that is sized 2025-05-13 16:38:57 +05:30
Kovid Goyal
f04fc251bf
Start work on full panel support in X11 2025-05-01 15:44:08 +05:30
Kovid Goyal
8e6612765f
Also reload panel settings of overrides and config 2025-04-30 20:47:34 +05:30
Kovid Goyal
edcfd17ca9
Panel kitten: Add option to hide panel on focus loss 2025-04-30 07:46:41 +05:30
Kovid Goyal
2d1cddcc25
Update layer shell config when toggling visibility 2025-04-29 21:16:15 +05:30
Kovid Goyal
6ac1ccd378
... 2025-04-29 09:13:06 +05:30
Kovid Goyal
7788d6acc2
Document the new quick-access-terminal kitten 2025-04-29 08:01:59 +05:30
Kovid Goyal
5683314784
Start work on quick-access-terminal kitten 2025-04-28 19:52:04 +05:30
Kovid Goyal
83bb1553f7
Allow changing panel CLI defaults 2025-04-28 16:25:53 +05:30
Kovid Goyal
9854068a59
Start work on panel kitten wrapper in Go
Needed because we need to use a special exe on macOS.
2025-04-28 16:07:09 +05:30
Kovid Goyal
b0ae88ada9
Wire up the codegen C cli parser 2025-04-28 09:20:11 +05:30
Kovid Goyal
d548a6fcf4
rename typing module to avoid conflicts with stdlib typing 2025-04-28 09:20:10 +05:30
Kovid Goyal
e42d410ee4
Move cli spec parsing code into simple module 2025-04-28 09:20:10 +05:30
Kovid Goyal
189d78283c
Get the quake terminal working on macOS 2025-04-25 20:27:26 +05:30
Kovid Goyal
9296bc3060
Speed up --detach
Also DRYer as well as more robust since single instance cleanup, binding
etc. happen in single process.
2025-04-24 08:13:58 +05:30
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