hyde-shell
Esta página aún no está disponible en tu idioma.
hyde-shell - HyDE script execution wrapper and environment resolver
Synopsis
Section titled “Synopsis”hyde-shell [command] [arguments...]hyde-shell [--help | help | -h]hyde-shell [-r | reload]Description
Section titled “Description”hyde-shell is a universal wrapper script that executes HyDE scripts without file extensions and solves PATH-related issues where users might accidentally overwrite ~/.local/lib/hyde in their PATH.
Located in ~/.local/bin/, hyde-shell automatically discovers and executes scripts from the HyDE library directory, handling both Python scripts (.py) and shell scripts (.sh) without requiring file extensions.
Options
Section titled “Options”--help, help, -h
: Display help message showing available commands and usage information.
-r, reload
: Reload the HyDE environment and refresh all configurations.
Built-in Commands
Section titled “Built-in Commands”wallbash
: Execute a wallbash script for dynamic theming and color management.
python-env
: Manage HyDE’s isolated Python virtual environment. See python-env for full documentation.
hyde-shell python-env create # Create the virtual environmenthyde-shell python-env sync # Sync dependencies from pyproject.tomlhyde-shell python-env install <pkg> # Install a package into the HyDE venvhyde-shell python-env rebuild # Destroy and recreate the venvScript Execution
Section titled “Script Execution”hyde-shell provides access to all HyDE scripts without requiring file extensions:
hyde-shell waybar # Executes waybar.pyhyde-shell theme.import # Executes theme.import.pyhyde-shell wallpaper # Executes wallpaper.shhyde-shell screenrecord # Executes screenrecord.shhyde-shell python-env # Manages the HyDE Python venvThe wrapper automatically discovers and resolves all scripts in the HyDE library directory.
Usage Examples
Section titled “Usage Examples”Execute any HyDE script without file extension:
hyde-shell waybar --help # Run waybar.py with help flaghyde-shell theme.import # Run theme.import.pyhyde-shell wallpaper # Run wallpaper.shUse built-in commands:
hyde-shell wallbash # Execute wallbash scripts in ~/.config/hyde/wallbash/scripts/
hyde-shell reload # Reload HyDE environmentPass arguments to underlying scripts:
hyde-shell waybar --set layout-1 # Pass arguments to waybar.pyKey Features
Section titled “Key Features”- Script Path Resolution: Finds scripts in
~/.local/lib/hyde/regardless of PATH configuration - Extension Handling: Automatically appends appropriate file extensions (.py, .sh)
- PATH Independence: Works regardless of current PATH configuration or working directory
- Python Environment Management: Exposes
python-envto create, sync, and manage the HyDE isolated venv
~/.local/bin/hyde-shell
: Main executable wrapper script
~/.local/lib/hyde/
: Directory containing all HyDE scripts and modules
- Always prefer
hyde-shellover direct script execution for maximum compatibility - File extensions are optional and automatically resolved
- Future HyDE versions will increasingly rely on
hyde-shellfor script execution