How to change dark/light nature of libadwaita in non-gnome systems?
@linux@lemmy.ml @linux@a.gup.pe
I use a window manager on Wayland. I know customising gtk4 apps is hard for some reasons. Neither I want some great level of customisation for it. I do not need uniform theming etc.
JUST
A simple way to change dark light theme from terminal. I use darkman to switch between dark and light theme. I just need a way to switch between dark and light with libadwaita
Please help.
https://wiki.archlinux.org/title/Uniform_look_for_Qt_and_GTK_applications
Have a look here, it might help. I can’t help much, I have KDE and Hyprland but I setup theming in KDE and it also sets in Hyprland.
Use gsettings:
gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark'
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
Adding
[Settings]
gtk-theme-name=Adwaita-dark
to $USER/.config/gtk-4.0
and $USER/.config/gtk-3.0
should do the trick.