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.

  • ElectronBadger@lemmy.ml
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    2 months ago

    Adding

    [Settings]                                                                                                                                                                
    gtk-theme-name=Adwaita-dark                                                                                                                                               
    

    to $USER/.config/gtk-4.0 and $USER/.config/gtk-3.0 should do the trick.