A small script to watch your webcam and do actions
Reason this release was yanked:
wrong ulrs
Project description
watch-webcam
Simple script to watch the status of the webcam and do some actions.
- switches all Elgato key lights on/off
- pauses music player at start of call
- disables xscreensaver during call
You can configure it with a config file, the default looks like this:
video:
devices:
- /dev/video0
- /dev/video1
- /dev/video2
applications:
- cheese
- MainThread
- firefox
- zoom
- GeckoMain
- teams
- chrome
- slack
xscreensaver:
enabled: true
media:
enabled: true
light:
enabled: true
brightness: 10
color: 5500
The config file is also the only option of the command:
usage: watch-webcam [-h] [-c CONFIG]
Detects webcam use and acts on it
options:
-h, --help show this help message and exit
-c, --config 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
watch_webcam-0.0.1.tar.gz
(41.5 kB
view details)
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 watch_webcam-0.0.1.tar.gz.
File metadata
- Download URL: watch_webcam-0.0.1.tar.gz
- Upload date:
- Size: 41.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85dffa4e5f245600dc3165b2f77ed826812492d5c9d16db18b82c3e071d183ea
|
|
| MD5 |
4a06ec4432a849ecaada68d660c42f0d
|
|
| BLAKE2b-256 |
436444907f7c45174eaec485c485e1bb52ecb09b05e1a99bf9ba9fa3c74f3367
|
File details
Details for the file watch_webcam-0.0.1-py3-none-any.whl.
File metadata
- Download URL: watch_webcam-0.0.1-py3-none-any.whl
- Upload date:
- Size: 30.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a90173bbdbbbd57c706d9458fd0d5588745a9a651bc1f7b9df12c2d2354ec1eb
|
|
| MD5 |
ff015c98901ec5d21f075db1af4b6d82
|
|
| BLAKE2b-256 |
dc81108fb1beb95444fe8e69d095a5a1e791913bfe63e10bbf78a50eceb89e1b
|