From c2b9014f2d18264553089c2752c8be44b9d22302 Mon Sep 17 00:00:00 2001 From: Communist Date: Thu, 29 Aug 2024 16:41:27 -0400 Subject: [PATCH] Nix/Hyprland on NixOS: Mention the use of dconf to fix errors with gtk themes (#758) Co-authored-by: Mihai Fufezan --- pages/Nix/Hyprland on NixOS.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pages/Nix/Hyprland on NixOS.md b/pages/Nix/Hyprland on NixOS.md index 3929633..2ccd2fb 100644 --- a/pages/Nix/Hyprland on NixOS.md +++ b/pages/Nix/Hyprland on NixOS.md @@ -146,3 +146,14 @@ in { 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). + +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'" +```