Nix/Hyprland on NixOS: Mention the use of dconf to fix errors with gtk themes (#758)

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
This commit is contained in:
Communist 2024-08-29 16:41:27 -04:00 committed by GitHub
parent 3746d2fa67
commit c2b9014f2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -146,3 +146,14 @@ in {
If your themes for mouse cursors, icons or windows don't load correctly, see the If your themes for mouse cursors, icons or windows don't load correctly, see the
relevant section in [Hyprland on Home Manager](../Hyprland-on-Home-Manager). relevant section in [Hyprland on Home Manager](../Hyprland-on-Home-Manager).
If you prefer not to use Home Manager, you can also resolve the issues with GTK
themes using dconf like so:
```ini
exec-once = dconf write /org/gnome/desktop/interface/gtk-theme "'Adwaita'"
exec-once = dconf write /org/gnome/desktop/interface/icon-theme "'Flat-Remix-Red-Dark'"
exec-once = dconf write /org/gnome/desktop/interface/document-font-name "'Noto Sans Medium 11'"
exec-once = dconf write /org/gnome/desktop/interface/font-name "'Noto Sans Medium 11'"
exec-once = dconf write /org/gnome/desktop/interface/monospace-font-name "'Noto Sans Mono Medium 11'"
```