Xsettings to get theme and configurations for Xwayland and Java applications

Joshua Chapman 2019-11-27 13:13:18 +01:00
parent 29d8edaa1b
commit c741757521

@ -53,4 +53,13 @@ exec_always import-gsettings \
gtk-theme:gtk-theme-name \ gtk-theme:gtk-theme-name \
icon-theme:gtk-icon-theme-name \ icon-theme:gtk-icon-theme-name \
cursor-theme:gtk-cursor-theme-name cursor-theme:gtk-cursor-theme-name
``` ```
## XSettings
The XWayland or Java applications need the XSettings daemon to be running to pick up the theme and default system configurations.
An lightweight implementation is [xsettingsd](https://github.com/derat/xsettingsd).
If you have Gnome installed alongside Sway you can start the daemon with:
`exec --no-startup-id /usr/lib/gsd-xsettings`