Commit Graph

31 Commits

Author SHA1 Message Date
Kovid Goyal
0fb1835af1 Cache parsed save as session options spec 2025-08-16 09:57:00 +05:30
Harsh Sharma
aeedfbc7d8 add special value listjson in panel output-name 2025-07-12 23:37:41 +05:30
Kovid Goyal
06afce07ac ... 2025-07-12 08:56:51 +05:30
Kovid Goyal
b01b73a8e5 Add --debug-input for panel and quick access terminals 2025-07-12 07:29:42 +05:30
Kovid Goyal
3e56def777 panel kitten: Add option to wait for single instance window close 2025-07-02 12:21:02 +05:30
Kovid Goyal
197cfbc1b1 DRYer 2025-05-20 11:16:49 +05:30
Stefan A. Haubenthal
3b20936959 Fixed typos 2025-05-18 19:52:12 +05:30
Kovid Goyal
d8b0edce43 Add a note that grabbing keyboard doesnt work on macOS 2025-05-18 14:34:10 +05:30
Kovid Goyal
95c6279bdd Implement --grab-keyboard
Currently works on Wayland.
2025-05-18 14:30:33 +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
a3634e4903 ... 2025-05-15 09:39:30 +05:30
Kovid Goyal
8017945551 Wayland: Add support for the xdg-toplevel-tag protocol
Now you can use --name or its alias --os-window-tag to set the tag.
2025-05-15 09:35:42 +05:30
Kovid Goyal
6282a46ff1 A new centered panel type that is sized 2025-05-13 16:38:57 +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
4c8f9f9e26 Cleanup previous PR
Fixes #8601
2025-05-12 22:18:41 +05:30
Shane Ciardelli
5c49e2aab4 remembers window position after quit
added position flag

added window geometry caching

Restores window given --position command

moved position flag to last listed flag

fixed formatting - working version

fixed git problems and formatting issues

fixing some caching mistakes

trailing whitespace

remove .dmypy.json for git
2025-05-12 22:18:41 +05:30
Kovid Goyal
a9bc9962f4 X11: add support for --output-name 2025-05-02 08:37:49 +05:30
Kovid Goyal
f461039017 Modify docs in light of X11 support 2025-05-01 21:48:27 +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
006c2811e0 ... 2025-04-29 10:27:43 +05:30
Kovid Goyal
2f921d6dec Proper handling of disabled cli flags 2025-04-29 10:26:28 +05:30
alex-huff
0efbd66717 fix typos 2025-04-28 22:15:09 -05:00
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
b0ae88ada9 Wire up the codegen C cli parser 2025-04-28 09:20:11 +05:30
Kovid Goyal
3dc85838c8 ... 2025-04-28 09:20:11 +05:30
Kovid Goyal
1413d8fb85 Fix handling of --help and --version 2025-04-28 09:20:11 +05:30
Kovid Goyal
27c5b6aac5 Generate option parser in C for kitty CLI 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