Commit Graph

15827 Commits

Author SHA1 Message Date
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
31d7dc43b0 Merge branch 'dependabot/go_modules/all-go-deps-66fe8ab3e4' of https://github.com/kovidgoyal/kitty 2025-05-19 08:52:01 +05:30
dependabot[bot]
f46fc096c8 Bump github.com/alecthomas/chroma/v2 in the all-go-deps group
Bumps the all-go-deps group with 1 update: [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma).


Updates `github.com/alecthomas/chroma/v2` from 2.17.2 to 2.18.0
- [Release notes](https://github.com/alecthomas/chroma/releases)
- [Changelog](https://github.com/alecthomas/chroma/blob/master/.goreleaser.yml)
- [Commits](https://github.com/alecthomas/chroma/compare/v2.17.2...v2.18.0)

---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
  dependency-version: 2.18.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 03:14:49 +00:00
Kovid Goyal
e31eda7735 Add a note that xdg-system-bell is terminally broken on Hyprland 2025-05-19 07:03:56 +05:30
Kovid Goyal
5b05b1235e Fix #8648 2025-05-19 06:22:45 +05:30
Kovid Goyal
da6f85dbaa Merge branch 'update-wayland-compat-matrix' of https://github.com/alex-huff/kitty 2025-05-19 06:17:21 +05:30
alex-huff
9d9ad91f37 docs: panel: update niri compatibility information 2025-05-18 18:18:43 -05:00
Stefan A. Haubenthal
3b20936959 Fixed typos 2025-05-18 19:52:12 +05:30
Stefan A. Haubenthal
33f278b477 Fixed typos 2025-05-18 15:16:56 +02:00
Kovid Goyal
255dd2845e Implement grab keyboard for x11 2025-05-18 14:49:07 +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
cc4d4eeaca Fix shortcuts from global menubar not working when keyboard grabbed on macOS 2025-05-18 14:23:38 +05:30
Kovid Goyal
abc9b1fc48 ... 2025-05-18 12:06:10 +05:30
Kovid Goyal
95f5e9293e DRYer 2025-05-18 11:47:22 +05:30
Kovid Goyal
82523b14df Wayland: Dont loose keyboard grab when new OS window created 2025-05-18 11:43:41 +05:30
Kovid Goyal
6f689f3221 Work on keyboard grabbing functionality 2025-05-18 11:37:11 +05:30
Kovid Goyal
e687d6db05 Link to my bar's code since it is now public 2025-05-18 09:56:20 +05:30
Kovid Goyal
13c37cf694 Fix remember_window_position not working because of a stupid typo
Fixes #8646
2025-05-18 07:53:30 +05:30
Kovid Goyal
d56721e64d version 0.42.1 v0.42.1 2025-05-17 08:40:20 +05:30
Kovid Goyal
96d961dcd0 ... 2025-05-17 07:15:49 +05:30
Kovid Goyal
35067a60ff Also build launcher with -std=c11
Fixes #8642
2025-05-16 19:33:30 +05:30
Kovid Goyal
e015ebefab Implement focus tracking in kitten infrastructure 2025-05-16 12:48:21 +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
66b13aa6d4 ... 2025-05-15 22:20:51 +05:30
Kovid Goyal
14ab28af51 Cleanup previous PR 2025-05-15 22:09:54 +05:30
Kovid Goyal
4f22951a29 Merge branch 'feature/panel-kwin-id' of https://github.com/jinliu/kitty 2025-05-15 22:08:02 +05:30
Jin Liu
ac5c8b8ebb doc/kitten/panel: add suggestion to set --app-id=dock for kwin 2025-05-16 00:30:14 +08:00
Kovid Goyal
27a9db95af Cleanup previous PR 2025-05-15 21:44:05 +05:30
Kovid Goyal
e1f5c3ff5c Merge branch 'feature/appid-as-namespace' of https://github.com/jinliu/kitty 2025-05-15 21:43:06 +05:30
Kovid Goyal
429cff0a52 Convenience method to access any member of a set 2025-05-15 21:40:06 +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
1157777c11 Bump bundled Wayland version 2025-05-15 09:09:16 +05:30
Kovid Goyal
7ec0085a0b Also report panic via debugprintln 2025-05-14 12:06:01 +05:30
Kovid Goyal
51adca08f2 Only chdir to / if the cwd is not executable or does not exist. Fixes #8636 2025-05-14 08:58:57 +05:30
Kovid Goyal
123a115836 Make kitten main re-useable 2025-05-13 18:51:49 +05:30
Kovid Goyal
6282a46ff1 A new centered panel type that is sized 2025-05-13 16:38:57 +05:30
Kovid Goyal
6afe3cbc5a typo 2025-05-13 15:44:43 +05:30
Kovid Goyal
7ec486c7a6 ... 2025-05-13 15:38:11 +05:30
Kovid Goyal
d9f61803ae Make a note that launching OS panels does not support --config or --override as these are per process settings not per OS Window.
Fixes #8635.
2025-05-13 15:35:22 +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
67c1ce7280 ... 2025-05-13 11:54:01 +05:30