profile
viewpoint

Ask questions[BUG] theme location

A theme is supposed to be placed in $HOME/.config/bashtop/themes or $HOME/.config/bashtop/user_themes But actually, bashtop seems to look in HOME/.config/bashtop

aristocratos/bashtop

Answer questions alcir

If I set a theme in ~/.config/bashtop/bashtop.cfg color_theme="default_black"

Here:

    494         #* Check if theme set in config exists and source it if it does
    495         if [[ -n ${color_theme} && ${color_theme} != "Default" && -e "${config_dir}/${color_theme%.theme}.theme" ]]; th        en 
    496                 # shellcheck source=/dev/null
    497                 source "${config_dir}/${color_theme%.theme}.theme"
    498                 sourced=1
    499         else
    500                 color_theme="Default"
    501         fi

"Default" is the selected color theme. So the value in the config file return back to Default.

useful!

Related questions

No questions were found.
source:https://uonfu.com/
Github User Rank List