DevDeck commands for interacting with a macOS system
Project description
DevDeck - macOS
A drop-in replacement for operating system controls and decks implemented in DevDeck.
DevDeck is a really neat tool but some of the default controls such as the volume controls assume you are running on a machine with PulseAudio ie; Linux.
This package is intended as a replacement for those controls but with support for macOS instead.
More specifically, it uses osascript to issue system commands under the hood.
By drop-in, you should only have to change the package name in the original DevDeck controls to achieve the same effect for macOS eg;
decks:
- serial_number: "ABC123456789"
name: 'devdeck.decks.single_page_deck_controller.SinglePageDeckController'
settings:
controls:
- - name: 'devdeck.controls.volume_mute_control.VolumeMuteControl'
+ - name: 'devdeck_macos.controls.volume_mute_control.VolumeMuteControl'
Installing
Simply install DevDeck - macOS into the same python environment that you have installed DevDeck.
$ pip install devdeck-macos
You can then update your DevDeck configuration to use decks and controls from this package.
Configuration
At the moment, only VolumeMuteControl is implemented but I plan to port over more controls shortly.
Example configuration:
decks:
- serial_number: "ABC123456789"
name: 'devdeck.decks.single_page_deck_controller.SinglePageDeckController'
settings:
controls:
- name: 'devdeck_macos.controls.volume_mute_control.VolumeMuteControl'
key: 0
NOTE: Unlike the original package, you do not have to specify the specific microphone as it will default to the currently selected default in System Preferences.
If there is a need for it, I can see whether osascript supports muting a specific input device.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file devdeck_macos-1.0.0.tar.gz.
File metadata
- Download URL: devdeck_macos-1.0.0.tar.gz
- Upload date:
- Size: 34.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54291fa8756fae709a4f657251cde39456cef2a1fe1cbb7bfc92292145f9b914
|
|
| MD5 |
18439dc6e9c64ac481ca8aea75ed3d3c
|
|
| BLAKE2b-256 |
ae80bbf84a1e617e10873d47b9c55321bf5c24e333219924edaf47ba732c0aec
|
File details
Details for the file devdeck_macos-1.0.0-py3-none-any.whl.
File metadata
- Download URL: devdeck_macos-1.0.0-py3-none-any.whl
- Upload date:
- Size: 35.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c83fcb3c5a6fe0efd7c28124f2dfb7a39ddbd3b01feeba05fe0aded4da779b9f
|
|
| MD5 |
0ddfd14af36e6dc84518321c2f1e0e6b
|
|
| BLAKE2b-256 |
38a216f91ae2faba3a7bb07c298054314bab7d7d5cc79459b7cb2e70a756dd65
|