__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
__all__ = [ "BaseDirectory", "DesktopEntry", "Menu", "Exceptions", "IniFile", "IconTheme", "Locale", "Config", "Mime", "RecentFiles", "MenuEditor" ]
__version__ = "0.28"
# Compatibility with xdg 5
from pathlib import Path
from typing import Optional, List
import os
from . import BaseDirectory
def xdg_cache_home() -> Path:
return Path(BaseDirectory.xdg_cache_home)
def xdg_config_dirs() -> List[Path]:
return [Path(path) for path in BaseDirectory.xdg_config_dirs]
def xdg_config_home() -> Path:
return Path(BaseDirectory.xdg_config_home)
def xdg_data_dirs() -> List[Path]:
return [Path(path) for path in BaseDirectory.xdg_data_dirs]
def xdg_data_home() -> Path:
return Path(BaseDirectory.xdg_data_home)
def xdg_runtime_dir() -> Optional[Path]:
try:
return Path(os.environ['XDG_RUNTIME_DIR'])
except KeyError:
return None
XDG_CACHE_HOME = xdg_cache_home()
XDG_CONFIG_DIRS = xdg_config_dirs()
XDG_CONFIG_HOME = xdg_config_home()
XDG_DATA_DIRS = xdg_data_dirs()
XDG_DATA_HOME = xdg_data_home()
XDG_RUNTIME_DIR = xdg_runtime_dir()
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| BaseDirectory.py | File | 6.11 KB | 0644 |
|
| Config.py | File | 728 B | 0644 |
|
| DesktopEntry.py | File | 17.05 KB | 0644 |
|
| Exceptions.py | File | 2.44 KB | 0644 |
|
| IconTheme.py | File | 15.71 KB | 0644 |
|
| IniFile.py | File | 13.32 KB | 0644 |
|
| Locale.py | File | 2.11 KB | 0644 |
|
| Menu.py | File | 38.68 KB | 0644 |
|
| MenuEditor.py | File | 18.48 KB | 0644 |
|
| Mime.py | File | 25.63 KB | 0644 |
|
| RecentFiles.py | File | 6.04 KB | 0644 |
|
| __init__.py | File | 1.06 KB | 0644 |
|
| util.py | File | 2.71 KB | 0644 |
|