How to change dark/light nature of libadwaita in non-gnome systems?

@[email protected] @[email protected]
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.

  • winety@lemmy.zip
    link
    fedilink
    English
    arrow-up
    13
    ·
    edit-2
    4 months ago

    Use gsettings:

    gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark' 
    
    gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'