Commit Graph

14495 Commits

Author SHA1 Message Date
Kovid Goyal
2bff4af9bf When shell is set to . respect the SHELL environment variable in the environment in which kitty is launched
Fixes #7714
2024-08-11 21:56:44 +05:30
Kovid Goyal
d76767fc89 Fix #7712 2024-08-11 10:18:38 +05:30
Kovid Goyal
9d256d181e ... 2024-08-09 15:12:54 +05:30
Kovid Goyal
ba3de858df Mark temp vars used in min/max macros as const 2024-08-08 20:36:36 +05:30
Kovid Goyal
c68de312dc Use Linux native notifications timeout functionality
Allows behaviors like not expiring notification if user hovers over it,
etc.
2024-08-08 17:20:06 +05:30
Kovid Goyal
d7902f6b24 Wayland GNOME: Fix a small rendering artifact when docking a window at a screen edge or maximizing it
For some reason destroying the shadow surfaces causes mutter to render one of them at its old relative position. So workaround by not destroying the surfaces, modern mutter anyway seems to hide them when the window is docked.

Fixes #7701
2024-08-07 13:34:10 +05:30
Kovid Goyal
75d0dcab8d Nicer fix for non-zero fields in rc protocol 2024-08-05 11:18:41 +05:30
Kovid Goyal
2b3f2258ff More pyugrade to 3.9 2024-08-05 11:00:51 +05:30
Kovid Goyal
a35f7e060b Merge branch 'dependabot/go_modules/all-go-deps-8f61a383e4' of https://github.com/kovidgoyal/kitty 2024-08-05 09:59:00 +05:30
dependabot[bot]
1dd8c53dd1 Bump the all-go-deps group with 2 updates
Bumps the all-go-deps group with 2 updates: [github.com/dlclark/regexp2](https://github.com/dlclark/regexp2) and [golang.org/x/sys](https://github.com/golang/sys).


Updates `github.com/dlclark/regexp2` from 1.11.2 to 1.11.3
- [Commits](https://github.com/dlclark/regexp2/compare/v1.11.2...v1.11.3)

Updates `golang.org/x/sys` from 0.22.0 to 0.23.0
- [Commits](https://github.com/golang/sys/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: github.com/dlclark/regexp2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-go-deps
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 03:11:08 +00:00
Kovid Goyal
c852a56574 Cleanup previous PR 2024-08-04 21:06:32 +05:30
Kovid Goyal
d9741421a8 Merge branch 'docs-dev' of https://github.com/PythonHacker24/kitty 2024-08-04 20:30:40 +05:30
Kovid Goyal
2c743dcdb2 Update sound support in desktop notifications spec
Add a short list of standard sound names.
2024-08-04 20:20:41 +05:30
Kovid Goyal
40d1781404 Fix #7688 2024-08-04 17:18:31 +05:30
Kovid Goyal
35b2895f3c old python 2024-08-03 13:58:52 +05:30
Kovid Goyal
c8a16688b5 ... 2024-08-03 13:53:25 +05:30
Kovid Goyal
0a895f153e Add a note to the spec that terminals must sanitize identifiers 2024-08-03 13:51:23 +05:30
Kovid Goyal
bd8162fa42 Add support for controlling the sound played with notifications 2024-08-03 13:46:38 +05:30
Kovid Goyal
5e809d2767 Rename method and change default theme to __custom 2024-08-03 13:06:48 +05:30
Kovid Goyal
22bd1b911c Document how to change the Linux sound theme system wide 2024-08-03 12:48:01 +05:30
Kovid Goyal
81bddba5d6 Search $XDG_DATA_HOME/icons before ~/.icons 2024-08-03 12:32:23 +05:30
Kovid Goyal
a376840e78 Remove libcanberra caching as it overrides theme selection
With the cache enabled chaging the theme still plays the old sound file
2024-08-03 12:19:13 +05:30
PythonHacker24
3ac24e7c95 added docs for cli interfacing as a guide for developers 2024-08-03 11:56:50 +05:30
Kovid Goyal
e66e6452a5 Cleanup canberra integration 2024-08-03 11:52:57 +05:30
Kovid Goyal
3367871408 Fix #7690 2024-08-03 07:17:46 +05:30
Kovid Goyal
89aa82e8d7 Pass the first notification type as category to the dbus server 2024-08-02 20:41:18 +05:30
Kovid Goyal
62bd6c88e9 Wayland GNOME: Fix the font size in the OS Window title bar changing with the size of the text in the window 2024-08-01 12:37:04 +05:30
Kovid Goyal
35d23e817c typo in docs 2024-08-01 11:33:09 +05:30
Kovid Goyal
99df3c072c Use the nicer stpcpy function 2024-08-01 11:11:30 +05:30
Kovid Goyal
6ffe2d82b8 On Linux use the notification server capabilities when responding to queries 2024-08-01 10:32:51 +05:30
Kovid Goyal
ae47e53bc6 ... 2024-08-01 07:24:28 +05:30
Kovid Goyal
bc0eed88d1 Add docs for the notify kitten 2024-08-01 07:21:48 +05:30
Kovid Goyal
aeeabed23c Add buttons to the notifications spec 2024-08-01 06:58:32 +05:30
Kovid Goyal
34484ef854 Cleanup command line options for notify kitten 2024-08-01 06:44:15 +05:30
Kovid Goyal
6a203487a9 Get notification buttons working on macOS 2024-08-01 06:40:52 +05:30
Kovid Goyal
1944ac9c13 Update changelog 2024-07-31 20:46:58 +05:30
Kovid Goyal
d09925d487 Merge branch 'diff-next-file' of https://github.com/jackielii/kitty 2024-07-31 20:45:20 +05:30
Jackie Li
bbe29dbc7b [diff kitten] move next/prev file 2024-07-31 16:11:38 +01:00
Kovid Goyal
adc9a61e2c Add tests for id sanitization 2024-07-31 16:57:57 +05:30
Kovid Goyal
1f656eccbb Fix tests for buttons functionality 2024-07-31 15:21:57 +05:30
Kovid Goyal
a144c267a3 ... 2024-07-31 15:16:53 +05:30
Kovid Goyal
f4b39b8db4 Clarify that i=0 is a special case for notification activated reports only 2024-07-31 15:15:24 +05:30
Kovid Goyal
f61635838e old python compat 2024-07-31 14:58:21 +05:30
Kovid Goyal
59de64920f Clarify the behavior of updating/closing of notifications without identifiers 2024-07-31 14:48:31 +05:30
Kovid Goyal
aa16918dd4 Implement support for buttons on notifications in Linux 2024-07-31 12:11:21 +05:30
Kovid Goyal
ad36c481af Allow closing notifications with the kitten 2024-07-31 09:06:17 +05:30
Kovid Goyal
b015a1fe8c Desktop notifications spec: Add support for icons
Fixes #7657
2024-07-31 08:49:19 +05:30
Kovid Goyal
f1d0d0949b Run pyupgrade to update the codebase to python 3.9
Gets rid of a lot of typing ugliness by using type annotations on
builtin types
2024-07-31 07:55:27 +05:30
Kovid Goyal
3aac62f6c7 Make mypy happy 2024-07-31 07:41:45 +05:30
Kovid Goyal
7cb35ad8e4 Update changelog 2024-07-31 07:35:57 +05:30