Commit Graph

36 Commits

Author SHA1 Message Date
Kovid Goyal
7ae0e8da62 ... 2025-08-12 20:50:09 +05:30
Kovid Goyal
be63598355 desktop-ui: Add config to control file chooser popup size
Fixes #8894
2025-08-12 20:47:26 +05:30
Kovid Goyal
c0c3a48b4a Cleanup previous PR 2025-08-04 20:31:31 +05:30
Nathan Monfils
dd7fa6b25a kitten desktop-ui: Do not create an empty *-portals.conf file
In the case where a portals.conf file does not exist in the user
configuration, there is nothing to patch; we should default to defining
the relevant portals for kitty.
2025-08-04 16:44:08 +02:00
Nathan Monfils
ff1c8ab917 kitten desktop-ui portal.go: Compat with XDG spec
1. Make sure we coalesce XDG_DATA_HOME as per the spec
  On my machine /etc/profile.d/flatpak.sh sets
  XDG_DATA_DIRS=$HOME/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
  but XDG_DATA_HOME is unset.

2. Update directory creation logic to find-or-create
   `enable_portal`'s current behavior is to first find a writable directory and
   write the portal definition to it, then fall back to creating a directory
   in the first available configuration directory.
   This is incorrect in the case where one of the locations in
   XDG_DATA_DIRS already has a directory, we should still prioritize
   XDG_DATA_HOME.
2025-08-04 16:41:58 +02:00
Kovid Goyal
0382463bcb Grab keyboard when running file chooser kitten via portal 2025-07-30 07:52:19 +05:30
Kovid Goyal
fbe982e1aa choose files: Option to display title at top when OS titlebar is not available 2025-07-16 19:41:30 +05:30
Kovid Goyal
b6b027802e Fix service activation file generation 2025-07-06 13:34:29 +05:30
Kovid Goyal
a7fdbcfcd0 ... 2025-07-06 13:19:07 +05:30
Kovid Goyal
acfed67d77 DRYer 2025-07-06 13:17:25 +05:30
Kovid Goyal
df7a3943ac ... 2025-07-06 13:13:52 +05:30
Kovid Goyal
ebe9842291 Implement file filters via dbus 2025-07-06 12:17:09 +05:30
Kovid Goyal
8ea7ebb242 file chooser integration now works 2025-07-03 11:30:51 +05:30
Kovid Goyal
28b2f0c819 Support window title 2025-07-03 09:08:19 +05:30
Kovid Goyal
ee13908ff1 Advertise support for FileChooser portal 2025-07-03 09:03:56 +05:30
Kovid Goyal
599f2956ce Finish up code to run file chooser 2025-07-03 08:50:03 +05:30
Kovid Goyal
7375ee5e52 More work on choose files integration 2025-07-02 14:49:24 +05:30
Kovid Goyal
72beddaabe ... 2025-07-01 14:13:06 +05:30
Kovid Goyal
d5534b6238 Add conf file for desktop-ui kitten 2025-07-01 13:26:39 +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