No project description provided
Project description
patray
Patray stands for PulseAudioTray. It is "yet another pulseaudio frontend".
Default view
Configuring
Reasons
- Brilliant yktoo sound switcher lacks of volume control
- pasystray have too much options and heavy interface
- No simple tray for all in one menu:
- port switching with radio buttons
- volume control scroll bar
Features
- Card profile switches
- Profile port switches
- Profile volume slider
- Port filters by mask
- Configurable UI view: combo or radio
License
patray
is offered under MIT license.
Requirements
- python 3.7+
Installation
$ python -m pip install patray
Usage
Common usecase is:
$ python -m patray ~/.patray.config.yml
Configuration options are built on cock
logic, so you need to run
$ python -m patray --help
to see all available options. But you can pass all options via command line interface, or even via environemnt vairables.
Example
For version 0.1.0
help output looks like this:
$ python -m patray --help
Usage: patray [OPTIONS] [CONFIGURATION_FILE]
Options:
--profile-enabled BOOLEAN [default: True]
--profile-style [combo|radio] [default: combo]
--port-enabled BOOLEAN [default: True]
--port-style [combo|radio] [default: radio]
--port-maximum-volume INTEGER [default: 100]
--port-hide-radio-by-mask TEXT
--log-level TEXT [default: INFO]
--icon-path FILE
--icon-color TEXT [default: #fff]
--version Show the version and exit. [default: False]
--help Show this message and exit. [default:
False]
You can see all defaults and all «flat» keys. Your configuration file can look like this:
profile:
enabled: false
style: combo
port:
enabled: true
style: radio
maximum-volume: 100
hide-radio-by-mask:
- "Front*"
- "Rear*"
- "Line In*"
You can see, that each -
in flat cli argument name can be cutted off to create tree-like config.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file patray-0.1.1.tar.gz
.
File metadata
- Download URL: patray-0.1.1.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfc0152aee6709886fca0f98020085f42c5104b4dc2e5b5aa8a7087285bd4a6d |
|
MD5 | 09d4a7cffce8fd4d09c51e2064ddba64 |
|
BLAKE2b-256 | 98b62efb01bd61d52eb34bfa4663a9dd1289d5bf3cb21dd4aea15f078dc2b327 |
File details
Details for the file patray-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: patray-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f208582d26c34b3ad3cb1280fcbd1a3b352d9dcd0bd977b2d6ea025ae7947b2 |
|
MD5 | 828d2b53651241f073843f718f23b8e8 |
|
BLAKE2b-256 | 1153d6f796395e639b8c4f8266ef6514a9a24a114bc1a2982c4e29cb7c77c7b3 |