Kovid Goyal
191ccf2d54
Wire up color scheme change notifications on X11 as well
2024-08-11 22:20:39 +05:30
Kovid Goyal
b5022cbd81
DRYer
2024-05-16 20:17:15 +05:30
Kovid Goyal
1bffe89b5d
Wayland GNOME: titlebar color now follows system theme
...
When GNOME system theme is default, the color matches the background
color. When it is dark it is dark.
2024-04-04 21:52:56 +05:30
Jin Liu
293cd40509
Get cursor theme from desktop portal in non-GNOME desktops
...
Even if current DE is not GNOME, it may still use the GNOME
desktop portal as a fallback for Settings (e.g. KDE). So if
the user installed xdg-desktop-portal-gtk, and KDE synced
its cursor theme with GNOME, then we can still get it from
the GNOME namespace in the Settings.ReadAll result from the
portal.
2023-12-02 15:00:03 +08:00
Kovid Goyal
66801b6b28
GLFW API to track system color scheme dark/light
...
Implemented only on macOS and Wayland.
2023-04-13 13:16:33 +05:30
pagedown
06108d66b1
Replace tab with four spaces indent
2022-08-08 22:31:55 +05:30
Kovid Goyal
c2bc24de35
Read appearance setting from desktop portal as well
2022-04-05 15:44:27 +05:30
Kovid Goyal
906be21b8d
Make GNOME detection a bit more tolerant
2022-03-22 11:36:09 +05:30
Kovid Goyal
63a50ec066
Use the correct mouse cursor theme on GNOME
...
Relies on a working desktop settings portal (xdg-desktop-portal-gtk)
2021-03-25 12:20:13 +05:30