Commit graph

19 commits

Author SHA1 Message Date
Kovid Goyal
d8b524c692
Cache parsing of command line specifications
Change option specification from dict to tuple for better performance
and immutability and better type checking.
2025-09-29 12:31:10 +05:30
Josh Frankel
a8aed5abeb
Update documentation for kitty_override kitten quick_access_terminal 2025-09-27 14:38:12 -04:00
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
02f264af90
Fix #8815 2025-07-13 08:13: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
27a9db95af
Cleanup previous PR 2025-05-15 21:44:05 +05:30
Jin Liu
4c6c38929b panel kitten: on Wayland, use app-id for the LayerShellV1 namespace parameter
The Wayland LayerShellV1 protocol doesn't allow setting window class/name/role/type/appId.
Instead, it has a `namespace` parameter that we currently hardcode to `kitty`. It
seems suitable to use app-id for this parameter.

Example use case:
kwin use the `namespace` parameter and an undocumented mapping to set window type for
Layer Shell windows. E.g., "dock" maps to NET:Dock. So if we set `app_id dock` in
quick_access_terminal.conf, the panel would be considered a dock, and won't have the
normal scale in/out animation on shown/hidden.
2025-05-15 23:55:48 +08:00
Kovid Goyal
9a543c2370
Modify docs since --class and --name dont apply to panels on Wayland 2025-05-15 19:55:20 +05:30
Kovid Goyal
88f4c829eb
Improve handling of output names
Now can use panel --output-name list to list available outputs.
Also, --output-name works on macOS
2025-05-13 15:29:37 +05:30
Kovid Goyal
a39b7eb7dd
Quick access terminal: Allow configuring the monitor to display the panel on in Wayland/X11
Fixes #8630
2025-05-13 11:52:52 +05:30
Kovid Goyal
be9624bbdd
Fix px suffix for lines/columns not working 2025-05-02 08:11:49 +05:30
Kovid Goyal
1ea7bbafd8
Add --debug-rendering to QAT 2025-05-01 06:56: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
8c6181d233
Dont pass --app-id on macOS 2025-04-29 08:55:53 +05:30
Kovid Goyal
08e2889a72
Use a conf file for the quick access terminal
This is needed on macOS where there is no good way to use command line
arguments when the terminal is triggerred via global shortcut key via
launch services.
2025-04-28 22:13:38 +05:30
Kovid Goyal
5683314784
Start work on quick-access-terminal kitten 2025-04-28 19:52:04 +05:30