Skip to content

Schumacher-Bastian/headsetcontrol_tray

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HeadsetControl Tray

A system tray application for controlling headsets, particularly those compatible with headsetcontrol.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Python 3.10 or higher
  • uv (a fast Python package installer and resolver)

Installing uv

You can install uv using pip:

pip install uv

Alternatively, you can use the official installer script:

curl -LsSf https://astral.sh/uv/install.sh | sh

Make sure to add uv to your PATH if it's not already. If you installed with pip as a user, this might be ~/.local/bin.

Development Setup

  1. Clone the repository (if you haven't already):

    git clone <repository-url>
    cd <repository-directory>
  2. Initialize the project and create a virtual environment: If you are setting up the project for the first time using uv, it can initialize the project structure. However, since you've cloned an existing project, you'll primarily use uv to manage the environment and dependencies.

    Create a virtual environment:

    uv venv

    This will create a .venv directory in the project root.

  3. Activate the virtual environment: On macOS and Linux:

    source .venv/bin/activate

    On Windows:

    .venv\Scripts\activate
  4. Install dependencies: The project dependencies are defined in pyproject.toml. To install them using uv:

    uv pip sync

    If the project uses extras, you might use:

    uv pip sync --all-extras
  5. Adding new dependencies: To add a new runtime dependency:

    uv add <package-name>

    To add a new development dependency:

    uv add --dev <package-name>

    This will update your pyproject.toml and install the package.

Running the Application

To run the application:

python -m headsetcontrol_tray

Alternatively, you can use uv to run scripts defined in pyproject.toml (if any) or execute commands within the managed environment:

uv run python -m headsetcontrol_tray

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 99.2%
  • Shell 0.8%