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
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 hashes)
Built Distribution
Brightify-0.1.0-py3-none-any.whl
(28.9 kB
view hashes)
Close
Hashes for Brightify-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3762c96f381675c800d81af266167829aa01535edce1a887267f4e350b247869 |
|
MD5 | a4be093fcfeb25128667a554afb93930 |
|
BLAKE2b-256 | b86fbb5c6f6b5db286b708ce3d5848b34d6bb53a18803c38a3da467fd2956281 |