Skip to content

CLI doesn't apply the theme #111

@nnra6864

Description

@nnra6864

I have this simple fish shell function which generates and applies the theme with nwg-look:

    # Remove all the gtk files to avoid conflicts
    rm -rf ~/.gtkrc-2.0 ~/.config/gtk-3.0/ ~/.config/gtk-4.0/ ~/.icons/default/index.theme &&

    # Generate Themix theme and icons
    /opt/oomox/plugins/icons_suruplus_aspromauros/change_color.sh ~/.config/oomox/colors/Ricer -o Ricer
    themix-multi-export ~/.config/oomox/export_config/multi_export_Ricer.json ~/.config/oomox/colors/Ricer &&
    
    # Apply the theme with nwg-look
    nwg-look -a

However, nwg-look doesn't apply the theme unless I open the GUI and click the apply button.
It doesn't work even if I run the nwg-look -a command in terminal without the rest of commands.
There are also certain edge cases where the theme doesn't get applied if theme files already exist, it's why I am removing them on top of the function.
Any clues as to why this is happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions