Commit Graph

1685 Commits

Author SHA1 Message Date
Kovid Goyal
fbfdb38260 Start work on choose files kitten 2025-05-20 12:32:43 +05:30
Kovid Goyal
197cfbc1b1 DRYer 2025-05-20 11:16:49 +05:30
Kovid Goyal
868e0c6b97 Some help for enable-portal 2025-05-20 08:38:51 +05:30
Kovid Goyal
2d15380f9d ... 2025-05-19 20:14:27 +05:30
Kovid Goyal
3119088a54 Allow setting contrast and accent-color as well 2025-05-19 19:39:32 +05:30
Kovid Goyal
fcc77c264f Endpoint to set arbitrary settings 2025-05-19 19:07:37 +05:30
Kovid Goyal
d38d72bd5e Command to change color-scheme 2025-05-19 13:42:24 +05:30
Kovid Goyal
c36815a380 Command to auto-create config files needed to get xdg-desktop-portal to use the kitty portal 2025-05-19 13:10:32 +05:30
Kovid Goyal
6be57e4316 Couple more options 2025-05-19 10:21:53 +05:30
Kovid Goyal
f591ca151d Code to show desktop settings 2025-05-19 10:12:00 +05:30
Kovid Goyal
f104562533 Add API to change settings values over DBUS 2025-05-19 08:52:18 +05:30
Kovid Goyal
a3398a44f8 Allow arbitrary number of settings 2025-05-19 08:52:18 +05:30
Kovid Goyal
01c182c410 Only add properties interface if there are properties defined 2025-05-19 08:52:18 +05:30
Kovid Goyal
6fded182b3 Add SettingChanged to introspect data 2025-05-19 08:52:18 +05:30
Kovid Goyal
a8082f7a3c ... 2025-05-19 08:52:18 +05:30
Kovid Goyal
75fdd86637 Get the DBUS export actually working 2025-05-19 08:52:18 +05:30
Kovid Goyal
e42d7efe85 Get it building on the various BSDs bane of my existence 2025-05-19 08:52:18 +05:30
Kovid Goyal
13b574486c ... 2025-05-19 08:52:18 +05:30
Kovid Goyal
c94844b220 Start work on Linux desktop portal kitten 2025-05-19 08:52:18 +05:30
Kovid Goyal
95c6279bdd Implement --grab-keyboard
Currently works on Wayland.
2025-05-18 14:30:33 +05:30
Kovid Goyal
ce59ef8c6e Export function to encode clipboard protocol chunk 2025-05-16 12:23:14 +05:30
Kovid Goyal
59c32d19cc Simplify code 2025-05-16 12:17:00 +05:30
Kovid Goyal
4713cc29ad make gofmt happy 2025-05-16 09:40:34 +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
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
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
53fd9892eb Allow custom kitten names with hyphens in them
Apparently there is no way to have config filenames on
nixOS/home-manager without hyphens in them.

Fixes #8608
2025-05-06 22:16:28 +05:30
Kovid Goyal
b5cbb501a4 Use the base name of the named pipe for the created temp file 2025-05-03 16:03:06 +05:30
Kovid Goyal
7ef2fe53e0 Avoid extra stat() 2025-05-03 15:55:36 +05:30
Kovid Goyal
a59a347903 diff kitten: Allow diffing named pipes
Fixes #8597
2025-05-03 15:53:29 +05:30
Kovid Goyal
be9624bbdd Fix px suffix for lines/columns not working 2025-05-02 08:11:49 +05:30
Kovid Goyal
f04fc251bf Start work on full panel support in X11 2025-05-01 15:44:08 +05:30
Kovid Goyal
1ea7bbafd8 Add --debug-rendering to QAT 2025-05-01 06:56:34 +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
8c6181d233 Dont pass --app-id on macOS 2025-04-29 08:55:53 +05:30
Kovid Goyal
7788d6acc2 Document the new quick-access-terminal kitten 2025-04-29 08:01:59 +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
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