Commit graph

2671 commits

Author SHA1 Message Date
Kovid Goyal
b015a1fe8c
Desktop notifications spec: Add support for icons
Fixes #7657
2024-07-31 08:49:19 +05:30
Kovid Goyal
7cb35ad8e4
Update changelog 2024-07-31 07:35:57 +05:30
Kovid Goyal
212d7accfc
Allow multiple types per notification 2024-07-29 20:52:54 +05:30
Kovid Goyal
4bc532a2d0
Clarify base64 and utf-8 encoding requirements 2024-07-29 20:42:55 +05:30
Kovid Goyal
ad48ecad40
Implement handling of icon names on Linux 2024-07-29 14:39:20 +05:30
Kovid Goyal
a38153c890
Make table alphabetically sorted 2024-07-29 10:12:56 +05:30
Kovid Goyal
896833a4f7
notify kitten: Wait for close now implemented 2024-07-29 10:08:37 +05:30
Kovid Goyal
f6a24af229
Merge branch 'docs-env' of https://github.com/gileri/kitty 2024-07-29 07:41:09 +05:30
Kovid Goyal
1b1f5656ee
more work on notifications kitten 2024-07-29 07:13:32 +05:30
gileri
3bdbf19bb0
Fix env assignation in ssh kitten docs 2024-07-28 22:35:19 +02:00
Kovid Goyal
674432f886
Round out the options for the new notify kitten 2024-07-28 20:52:44 +05:30
Kovid Goyal
eca487d15f
Add support for auto-expiring notifications 2024-07-28 20:14:39 +05:30
Kovid Goyal
083f158bbd
Implement a polling mode for close events 2024-07-28 15:35:22 +05:30
Kovid Goyal
02bc104091
On macOS only track nots that request close events
Send an untracked event when giving up tracking of the notification
2024-07-28 13:19:47 +05:30
Kovid Goyal
2bffea2bdc
Implement updating of notifications 2024-07-28 12:25:35 +05:30
Kovid Goyal
67410c317f
Add a sample showing on_activation event for notifications 2024-07-28 08:46:31 +05:30
Kovid Goyal
de21e5e488
Implement filtering of desktop notifications
Fixes #7670
2024-07-28 08:41:24 +05:30
Kovid Goyal
c59ab759a1
Allow well behaved applications to categorise notifications so that users can easily filter them out 2024-07-27 21:54:19 +05:30
Kovid Goyal
45a3a655a7
Desktop notifications: Fix limited HTML markup in the body text being rendered as HTML on some Linux systems
Fix #7671
2024-07-27 21:19:46 +05:30
Kovid Goyal
54b328710b
Implement polling based closed notifications on macOS 2024-07-27 20:58:55 +05:30
Kovid Goyal
ea112a6592
Start work on adding icon support to desktop notifications 2024-07-26 22:46:21 +05:30
Kovid Goyal
bb3aecd2a5
kitten run-shell: Automatically add the directory containing the kitten binary to PATH if needed
Controlled via the --inject-self-onto-path option
2024-07-26 22:29:05 +05:30
Kovid Goyal
0813a3daff
Report if close events are supported in the query response 2024-07-25 18:59:31 +05:30
Kovid Goyal
f66a58ebe2
Decouple notification closed reporting from closing of notifications 2024-07-25 10:53:31 +05:30
Kovid Goyal
1c9d9e394c
Have close notifications indicate when notification is not found 2024-07-25 07:58:17 +05:30
Evelyn Harthbrooke
7b58560663
typo: remove unnecessary word in desktop notifications document 2024-07-24 17:26:40 -06:00
Kovid Goyal
81e99f46f1
Clarify the semantics of close notification responses
Also, simplify the escape code, not requiring an extra p value.
Default to not responding.
2024-07-24 06:39:28 +05:30
Kovid Goyal
a4a9d13ee0
Add a note on the best way to use the query escape code 2024-07-23 23:21:27 +05:30
Kovid Goyal
aa1a9332ef
Allow closing notifications without a status return 2024-07-23 23:09:11 +05:30
Kovid Goyal
7741799f78
Start work on implementing closing of notifications 2024-07-23 22:05:05 +05:30
Kovid Goyal
db6f62a749
Desktop notifications protocol: Add support for closing previous notifications
Feel free to comment if you have concerns. Not yet implemented in kitty.
Fixes #7659
2024-07-23 21:42:00 +05:30
Kovid Goyal
9484814c3f
Specify that unknown payload types should be ignored 2024-07-23 21:14:29 +05:30
Kovid Goyal
bc3ff1b649
... 2024-07-23 20:39:50 +05:30
Kovid Goyal
c4baed73a2
Forgot about supporting multiplexers in the desktop notification query protocol 2024-07-23 20:35:26 +05:30
Kovid Goyal
3cf6db445b
Also respond about urgency support in the query response 2024-07-23 20:24:18 +05:30
Kovid Goyal
36a3b33b02
Note which version of kitty gained support for querying desktop notifications protocol 2024-07-23 20:20:44 +05:30
Kovid Goyal
e14894888c
Desktop notifications protocol: Add support for querying if the terminal emulator supports the protocol
Fixes #7658
2024-07-23 20:16:25 +05:30
Kovid Goyal
e4433eefc7
Also allow using other image formats for window_logo_path 2024-07-23 15:29:19 +05:30
Kovid Goyal
b6ca501111
Document the new color control protocol 2024-07-22 13:24:25 +05:30
Kovid Goyal
0cf9a79760
A new option second_transparent_bg
Makes a second background color semi-transparent via background_opacity.
Useful for things like cursor line highlight in editors.

Fixes #7646
2024-07-21 20:22:31 +05:30
Kovid Goyal
4db3978a91
Add a note on how to see monospaced fonts on macOS 2024-07-20 13:55:34 +05:30
Kovid Goyal
681048f1ca
launch command: A new --bias option to adjust the size of newly created windows declaratively
Still need to implement it for the Grid layout.
Fixes #7634
2024-07-20 12:37:18 +05:30
Kovid Goyal
ae8da889c4
Make mypy 1.11 happy 2024-07-20 10:15:01 +05:30
Kovid Goyal
681a2b7b28
Sessions: A new command focus_matching_window to shift focus to a specific window, useful when creating complex layouts with splits 2024-07-19 14:54:44 +05:30
Kovid Goyal
43769bc3e0
Allow controlling the easing curves used for the visual bell 2024-07-19 11:35:00 +05:30
Kovid Goyal
3ff7eb68f8
Document how to animate the cursor blinking 2024-07-19 09:09:13 +05:30
Kovid Goyal
06b5eff6e6
Add support for in-band window resize notifications
Fixes #7642
2024-07-18 20:32:33 +05:30
Kovid Goyal
e0a7d25dda
Splits layout: Fix the move_to_screen_edge action breaking when only a single window is present
Fixes #7621
2024-07-12 12:13:31 +05:30
Kovid Goyal
114f2da1bf
add a note about how to prevent themes kitten from commenting out color settings 2024-07-12 09:10:49 +05:30
Kovid Goyal
ee7afeea5a
Remove workaround for kwin sending out of order events press/focus events on Wayland as it is not needed with up-to-date kwin and causes issues with multiple OS windows.
The code wasnt correct anyway as active_draw_in_window was a window id
and it was being compared to an OS window id.

Fixes #7381
2024-07-09 08:02:10 +05:30
Kovid Goyal
f1e1dc4a0c
Split up list of software supporting graphics protocol into libraries and applications and make it alphabetical 2024-07-07 20:31:36 +05:30
Kovid Goyal
f8beaa0a4b
Dispatch any clicks waiting for click_interval on key events
Fixes #7601
2024-07-07 20:17:22 +05:30
Kovid Goyal
87bd4334b7
Merge branch 'patch-2' of https://github.com/Canop/kitty 2024-07-07 19:30:35 +05:30
Denys Séguret
ae899fe24f
Update graphics-protocol.rst
Add broot to the list of applications using Kitty's graphics protocol

(IMO it would be easier to read with an alphabetical sorting and by removing the gratuitous "blazing fast" assertions but that's out of scope of this PR)
2024-07-07 15:08:28 +02:00
Kovid Goyal
a3e20ea6d1
... 2024-07-07 13:36:12 +05:30
Kovid Goyal
5db9f2a205
Note in build docs that HERD font is now a build time requirement 2024-07-05 11:01:26 +05:30
Kovid Goyal
e365d1bc5d
... 2024-07-03 08:53:16 +05:30
Kovid Goyal
3d77950b45
Update changelog 2024-07-02 19:16:05 +05:30
Kovid Goyal
98c85d2923
Use builtin NERD fonts
Prevents users from having to install their own NERD font. System fonts
are still used preferentially on Linux but on macOS the builtin one is
used preferentially. Cant find any CoreText API to change this.

Still has to be implemented on macOS. And need to add code to the build
system to bundle the font when building.
2024-07-02 10:28:07 +05:30
Kovid Goyal
314da124f3
macOS 15: Handle Fn modifier when detecting global shortcuts
Fixes #7582
2024-07-01 09:54:01 +05:30
Kovid Goyal
44f7a1c0c2
... 2024-06-29 15:18:28 +05:30
Kovid Goyal
a1cd9ab229
... 2024-06-29 14:42:14 +05:30
Kovid Goyal
766a853622
Add font awesome symbols to NERD fonts range in FAQ 2024-06-29 14:41:29 +05:30
Kovid Goyal
78d1275601
macOS: Fix rendering of the unicode hyphen (U+2010) character when using a font that does not include a glyph for it
The problem was caused by CoreText falling back to the glyph for the
ASCII hyphen U+00AD when the font does not contain a glyph for U+2010.
However, HarfBuzz does not do this automatic fallback (see
https://github.com/harfbuzz/harfbuzz/issues/517). This leads to the
character not being rendered.

To fix this we specialize HarfBuzz glyph lookup for this character
to follow CoreText. HarfBuzz should really do this automatically when
the hb_font is based on a CTFontRef, but I dont have the time/energy to
argue with its maintainers. Note that HarfBuzz already does this
automatic fallback for U+2011.

Hopefully, there aren't many more such special cases in CoreText.

Fixes #7525
2024-06-29 14:22:04 +05:30
Kovid Goyal
ab296b1551
... 2024-06-29 11:08:23 +05:30
Kovid Goyal
107cd957d3
Update changelog 2024-06-25 13:16:05 +05:30
Kovid Goyal
5bb8378dc1
icat: Add an option to leave the cursor to the right of the image
Fixes #7574
2024-06-25 13:06:46 +05:30
Kovid Goyal
190566be8e
Wayland: Fix specifying the output name for the panel kitten not working
Fixes #7573
2024-06-25 12:53:37 +05:30
Chase Colman
e2d3e0ba96
Fix composition example in Graphics Protocol
The example is missing `a=c` but it has the remaining parameters.
2024-06-25 00:59:06 +08:00
Kovid Goyal
8f9c9db1cf
... 2024-06-24 15:42:38 +05:30
Kovid Goyal
e0ffe6d584
... 2024-06-24 11:44:43 +05:30
Kovid Goyal
a70cedbea3
... 2024-06-24 11:34:48 +05:30
Kovid Goyal
b3eb87e8d0
Note var font support in feature summary 2024-06-24 11:31:25 +05:30
Kovid Goyal
9ddcedc126
Update docs of font_family to reference the choose-fonts kitten 2024-06-24 11:21:15 +05:30
Kovid Goyal
fb19bf057e
Update docs of font_features to note that it is not needed for main font configuration anymore 2024-06-24 11:14:21 +05:30
Kovid Goyal
c4d634d143
... 2024-06-24 11:08:38 +05:30
Kovid Goyal
9169bb023c
Document font selection syntax 2024-06-24 11:07:26 +05:30
Kovid Goyal
b34bd8dc93
Update change log with variable font support 2024-06-24 10:06:43 +05:30
Kovid Goyal
8d716ab6cb
... 2024-06-24 07:54:19 +05:30
Kovid Goyal
85b6f15313
More choose-fonts documentation 2024-06-24 07:54:19 +05:30
Kovid Goyal
5774965e32
Start documenting the choose fonts kitten 2024-06-24 07:54:19 +05:30
Kovid Goyal
2be91d73dd
Move the query_terminal implementation to Go 2024-06-24 07:54:14 +05:30
Kovid Goyal
9b3bb05a3a
Drop support for 32-bit x86 prebuilt binaries
SIMDe 0.8.2 doesnt build on 32 bit and while that will likely be fixed
eventually, 32bit isn't tested in CI and generally speaking there isn't
much use for this platform anymore. I dont know of any 32-bit computers
in common use these days.

As such the overhead of maintaining these is not worth it for me.
kitty itself remains buildable on 32-bit though no guarantees for how
long that will last. kitten remains available on 32bit.
2024-06-24 07:53:15 +05:30
Kovid Goyal
3fd51e4ebb
Cleanup previous PR 2024-06-23 19:27:11 +05:30
Kovid Goyal
ad328bfeaa
version 0.35.2 2024-06-22 09:04:46 +05:30
Kovid Goyal
df229dafa0
Clarify docs that remote_control_script is a convenience wrapper for launch 2024-06-21 06:17:32 +05:30
Kovid Goyal
1a38b60463
URL detection: Fix IPv6 hostnames breaking URL detection
Fixes #7565
2024-06-21 05:53:21 +05:30
Kovid Goyal
2bcb32d611
Fix scrollback_indicator_opacity not actually controlling the opacity
Fixes #7557
2024-06-19 06:03:30 +05:30
Kovid Goyal
2a6870b21f
Wayland labwc: Fix kitty timing out waiting for compositor to quit fucking around with scales on labwc
labwc is unique among Wayland compositors in implementing fractional
scale but not preferred integer buffer scale events. We didn't cater to
this particular combination of before. And to top it off it appears to
have no way for the user to set/control the scale so I cant even test
what it will do with fractional scales other than 1. Sigh. As with all
things Wayland, you need to be a masochist to subject yourself to them.

Fixes #7540
2024-06-16 15:01:46 +05:30
Kovid Goyal
57aa591a90
... 2024-06-16 06:13:54 +05:30
Kovid Goyal
e0998fcbb1
Update changelog 2024-06-16 06:09:01 +05:30
Kovid Goyal
f4bec5f4ab
Remote control: Fix empty password not working
Fixes #7538
2024-06-15 11:15:19 +05:30
Kovid Goyal
68649d78df
Cleanup previous PR 2024-06-15 06:12:31 +05:30
Kovid Goyal
6f0366d42f
Update changelog and cleanup docs of the window_logo_scale option 2024-06-14 13:49:58 +05:30
Kovid Goyal
e3239fdcdf
... 2024-06-10 09:25:14 +05:30
Kovid Goyal
dea7752df1
Note that textual now supports the kitty keyboard protocol 2024-06-10 09:24:31 +05:30
Mikhail Goncharov
c153ea8acc use readlink -f ~ to get user home
/home/$USER works most of the time but might be wrong
2024-06-07 11:03:37 +02:00
sxyazi
14c16fa943
Add Yazi terminal file manager to the list of software implementing kitty's graphics protocol 2024-06-04 14:06:14 +08:00
Kovid Goyal
1bfb1de7fc
version 0.35.1 2024-05-31 14:22:58 +05:30
Kovid Goyal
f3d8cf5d29
Add tdf as a terminal PDF viewer that uses the kitty graphics protocol 2024-05-30 21:20:31 +05:30