A small script to watch your webcam and do actions
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.2.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.2.tar.gz.
File metadata
- Download URL: watch_webcam-0.0.2.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 |
979df47fc044f647dd8e040d158d2e217aaee74d8d8559f2b74d6f27a62e5ff8
|
|
| MD5 |
3e22d5f24c66fba471ab4d7456e9a20f
|
|
| BLAKE2b-256 |
c5a48ab7c1b87f1bf02c94ef09415dabdc65e06eba825ce3c765b3747c97eec9
|
File details
Details for the file watch_webcam-0.0.2-py3-none-any.whl.
File metadata
- Download URL: watch_webcam-0.0.2-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 |
ec51a4cedad28c184e7ce3573e1ead631da81d4332861162d9a039fc09039474
|
|
| MD5 |
05e579d85dbdd4a8117c0fab978de541
|
|
| BLAKE2b-256 |
d58add9af0fc9d82d20d1d33ae47a6adf7d41b383a76259c57147dd6aed1eea8
|