Marshall Bowers
e60123bbdc
Allow icon themes to provide their own file associations ( #24926 )
...
This PR adds the ability for icon themes to provide their own file
associations.
The old `file_types.json` that was previously used to make these
associations has been removed in favor of storing them on the default
theme.
Icon themes have two new fields on them:
- `file_stems`: A mapping of file stems to icon keys.
- `file_suffixes`: A mapping of file suffixes to icon keys.
These mappings produce icon keys which can then be used in `file_icons`
to associate them to a particular icon:
```json
{
"file_stems": {
"Makefile": "make"
},
"file_suffixes": {
"idr": "idris"
},
"file_icons": {
"idris": { "path": "./icons/idris.svg" },
"make": { "path": "./icons/make.svg" }
}
}
```
When loading an icon theme, the `file_stems` and `file_icons` fields
will be merged with the ones from the base icon theme, with the values
from the icon theme being loaded overriding ones in the base theme.
Release Notes:
- Added the ability for icon themes to provide their own file
associations.
2025-02-15 00:35:13 +00:00
..
2025-01-27 04:00:27 +00:00
2025-02-01 06:19:29 +00:00
2025-01-26 03:02:45 +00:00
2025-02-10 20:57:25 +00:00
2025-02-14 13:27:48 +02:00
2025-02-10 00:16:12 +00:00
2025-02-01 06:19:29 +00:00
2025-01-26 03:02:45 +00:00
2025-02-05 14:30:09 +00:00
2025-01-26 03:02:45 +00:00
2025-01-26 03:02:45 +00:00
2025-01-26 03:02:45 +00:00
2025-01-26 23:37:34 +00:00
2025-02-06 08:05:41 +00:00
2025-01-27 04:00:27 +00:00
2025-02-12 19:46:42 +00:00
2025-01-31 23:25:58 +00:00
2025-02-04 10:24:35 -08:00
2025-02-06 02:09:24 -07:00
2025-02-12 07:32:17 -08:00
2025-01-17 17:39:22 +01:00
2025-02-14 14:04:32 -07:00
2025-02-11 20:16:59 +00:00
2025-01-17 17:39:22 +01:00
2025-02-11 04:55:40 +00:00
2025-02-11 04:55:40 +00:00
2025-02-14 15:41:49 +01:00
2025-02-11 20:16:59 +00:00
2025-01-26 23:37:34 +00:00
2025-01-26 03:02:45 +00:00
2025-02-14 15:41:49 +01:00
2025-01-26 03:02:45 +00:00
2025-01-27 13:40:59 -05:00
2025-02-07 12:33:35 +01:00
2025-01-26 03:02:45 +00:00
2025-02-14 12:37:35 -07:00
2025-01-26 23:37:34 +00:00
2025-02-07 11:30:53 -05:00
2025-01-17 17:39:22 +01:00
2025-02-05 18:17:19 +00:00
2025-02-14 15:41:49 +01:00
2025-02-06 00:09:37 +00:00
2025-02-13 21:48:09 +00:00
2025-02-10 20:57:25 +00:00
2025-02-14 15:41:49 +01:00
2025-02-15 00:35:13 +00:00
2025-02-04 15:29:10 -05:00
2025-01-30 23:53:36 -07:00
2025-02-05 14:30:09 +00:00
2025-02-14 14:04:32 -07:00
2025-02-12 15:57:08 -07:00
2025-02-14 14:04:32 -07:00
2025-02-14 15:41:49 +01:00
2025-02-07 11:18:18 -05:00
2025-02-14 21:54:26 +05:30
2025-02-05 14:30:09 +00:00
2025-01-31 02:00:55 +00:00
2025-01-26 03:02:45 +00:00
2025-02-12 07:32:17 -08:00
2025-02-11 20:16:59 +00:00
2025-01-26 03:02:45 +00:00
2025-02-10 22:28:56 -03:00
2025-02-12 16:23:23 +00:00
2025-01-26 23:37:34 +00:00
2025-01-26 03:02:45 +00:00
2025-02-14 15:44:45 +01:00
2025-01-26 23:37:34 +00:00
2025-02-14 13:07:41 -05:00
2025-02-10 00:16:12 +00:00
2025-02-14 13:07:41 -05:00
2025-01-28 19:04:21 -05:00
2025-02-14 15:41:49 +01:00
2025-02-14 17:34:43 -05:00
2025-01-26 23:37:34 +00:00
2025-01-26 03:02:45 +00:00
2025-01-17 17:39:22 +01:00
2025-01-31 22:28:11 +00:00
2025-02-14 15:41:49 +01:00
2025-02-06 18:37:50 -08:00
2025-02-03 16:38:45 +00:00
2025-01-17 17:39:22 +01:00
2025-01-17 17:39:22 +01:00
2025-02-15 01:33:30 +05:30
2025-02-14 13:07:41 -05:00
2025-02-14 13:18:07 -05:00
2025-01-30 08:56:02 -08:00
2025-01-27 04:00:27 +00:00
2025-01-26 03:02:45 +00:00
2025-02-05 16:45:38 -05:00
2025-02-14 15:41:49 +01:00
2025-02-15 00:35:13 +00:00
2025-02-10 15:52:09 +00:00
2025-02-09 16:51:37 -07:00
2025-02-07 21:17:07 +05:30
2025-02-14 15:41:49 +01:00
2025-02-14 14:04:32 -07:00
2025-02-15 00:35:13 +00:00
2025-02-05 14:30:09 +00:00
2025-02-10 20:57:25 +00:00
2025-02-14 14:04:32 -07:00
2025-02-14 14:52:24 -07:00
2025-02-05 14:30:09 +00:00
2025-02-01 06:19:29 +00:00
2025-02-14 14:52:24 -07:00
2025-02-12 20:55:22 -07:00
2025-02-14 13:27:48 +02:00
2025-02-12 07:32:17 -08:00
2025-01-26 03:02:45 +00:00
2025-02-04 15:29:10 -05:00
2025-02-06 00:09:37 +00:00
2025-01-31 01:22:10 +00:00
2025-02-07 21:17:07 +05:30
2025-02-10 10:52:27 -08:00
2025-01-17 17:39:22 +01:00
2025-01-26 03:02:45 +00:00
2025-02-12 06:47:08 +05:30
2025-01-26 03:02:45 +00:00
2025-01-26 03:02:45 +00:00
2025-01-28 10:37:48 +01:00
2025-01-27 04:00:27 +00:00
2025-01-26 03:02:45 +00:00
2025-02-05 14:30:09 +00:00
2025-01-26 03:02:45 +00:00
2025-02-11 20:16:59 +00:00
2025-01-17 17:39:22 +01:00
2025-02-12 19:46:42 +00:00
2025-02-07 22:06:37 +00:00
2025-01-26 03:02:45 +00:00
2025-02-14 15:41:49 +01:00
2025-01-26 03:02:45 +00:00
2025-02-15 00:35:13 +00:00
2025-01-17 17:39:22 +01:00
2025-02-06 02:09:24 -07:00
2025-02-01 06:19:29 +00:00
2025-02-14 13:27:48 +02:00
2025-01-27 18:11:15 -08:00
2025-02-15 00:35:13 +00:00
2025-02-07 11:30:53 -05:00
2025-01-31 01:22:10 +00:00
2025-02-11 23:45:37 +00:00
2025-02-12 15:57:08 -07:00
2025-02-12 15:57:08 -07:00
2025-01-27 04:00:27 +00:00
2025-02-14 13:07:41 -05:00
2025-01-26 03:02:45 +00:00
2025-02-09 13:25:03 -05:00
2025-02-12 14:46:42 -08:00
2025-02-05 14:30:09 +00:00
2025-02-15 00:35:13 +00:00
2025-01-26 03:02:45 +00:00
2025-02-14 10:28:07 -05:00
2025-02-14 16:47:11 +02:00
2025-02-14 16:47:11 +02:00
2025-02-15 00:35:13 +00:00
2025-02-14 13:27:48 +02:00
2025-02-14 13:27:48 +02:00