()
return config_path
Return the path to the user s-tui config directory
Return the path to the user s-tui config directory
Return the path to the user s - tui config directory
def get_user_config_file():
    """
    Return the path to the user s-tui config directory
    """
    user_home = os.getenv('XDG_CONFIG_HOME')
    if user_home is None or not user_home:
        config_path = os.path.expanduser(os.path.join('~', '.config',
                                                      's-tui', 's-tui.conf'))
    else:
        config_path = os.path.join(user_home, 's-tui', 's-tui.conf')

    return config_path
def get_user_config_file ( ) : user_home = os . getenv ( 'XDG_CONFIG_HOME' ) if user_home is None or not user_home : config_path = os . path . expanduser ( os . path . join ( '~' , '.config' , 's-tui' , 's-tui.conf' ) ) else : config_path = os . path . join ( user_home , 's-tui' , 's-tui.conf' ) return config_path