A tool to control the brightness of your screens.
Project description
Getting started
- Install brightify by running
pip install .
in the main directory. When developing, you can usepip install -e .
to install the package in editable mode. - To start the app:
python -m brightify run
. You can exit either by right-clicking the icon in the taskbar and selecting "Exit" or by pressingCtrl+C
in the terminal. - There are several other arguments you can pass to the app, see
python -m brightify --help
for more information.- To start the app at startup
python -m add startup
(Equivalent topython -m add startup --mode startup-folder
). By default, the terminal will be hidden, but you can change this by passing the--force-console
argument. To remove the startup task, runpython -m remove startup
. On Windows you can also use the Task Scheduler, which requires elevated permissions to add the app to startup. For this, runpython -m brightify add startup --mode task_scheduler
and to remove itpython -m brightify remove startup --mode task_scheduler
. - To add a menu icon
python -m brightify add menu-icon
. Again, you can pass the--force-console
argument force the terminal. To remove the icon, runpython -m remove menu-icon
.
- To start the app at startup
Set up the brightness sensor
- Modify the SensorComm class to match your device and firmware
- Modify the code that is polling from the brightness sensor Device Firmware
- Modify platformio.ini and enter your board ( see supported boards)
- Run
pio run -t upload
in the terminal to upload the firmware to the board. If everything is working, the Auto Checkbox for each supported Monitor should now be clickable
Remarks
- Currently, only the Windows task bar icon is supported, the main part of this app is OS independent
- Feel free to create a pull request and add your own USB Monitor
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
brightify-0.1.0.tar.gz
(24.0 kB
view details)
Built Distribution
Brightify-0.1.0-py3-none-any.whl
(28.9 kB
view details)
File details
Details for the file brightify-0.1.0.tar.gz
.
File metadata
- Download URL: brightify-0.1.0.tar.gz
- Upload date:
- Size: 24.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd41a22d7db017dcb4dfa22786ae962e0b70b39b465a088dd1884b8e895d190c |
|
MD5 | 6065a2e81609b8abc823919bb1d8a245 |
|
BLAKE2b-256 | 5a7345407d9c123d8794375e4f6a9ee76e3b50188d6dcdf3559d6c0f0ce40617 |
File details
Details for the file Brightify-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: Brightify-0.1.0-py3-none-any.whl
- Upload date:
- Size: 28.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3762c96f381675c800d81af266167829aa01535edce1a887267f4e350b247869 |
|
MD5 | a4be093fcfeb25128667a554afb93930 |
|
BLAKE2b-256 | b86fbb5c6f6b5db286b708ce3d5848b34d6bb53a18803c38a3da467fd2956281 |