Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rwp0/windows-brightness-manager
Manage Windows brightness
https://github.com/rwp0/windows-brightness-manager
batch brightness ddm powershell script windows wmic
Last synced: 10 days ago
JSON representation
Manage Windows brightness
- Host: GitHub
- URL: https://github.com/rwp0/windows-brightness-manager
- Owner: rwp0
- Created: 2024-09-01T21:33:29.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-06T15:27:41.000Z (30 days ago)
- Last Synced: 2025-01-06T16:37:28.567Z (29 days ago)
- Topics: batch, brightness, ddm, powershell, script, windows, wmic
- Language: PowerShell
- Homepage:
- Size: 158 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Windows Brightness Manager
Manage Windows laptop and Dell monitor(s) brightness using `wmic` and `ddm` commands respectively.
[This](brightness.bat) is a `.bat` batch script to do the job in two external commands based on the time of the day (day or night) as indicated through the argument.
The repository includes run configurations and some screenshots.
The [WmiMonitorBrightnessMethods](https://learn.microsoft.com/en-us/windows/win32/wmicoreprov/wmimonitorbrightnessmethods) WMI class and its [WmiSetBrightness](https://learn.microsoft.com/en-us/windows/win32/wmicoreprov/wmisetbrightness-method-in-class-wmimonitorbrightnessmethods) method is leveraged here to set laptop's brightness.
For [`ddm`](https://gist.github.com/nebriv/cb934a3b702346c5988f2aba5ee39f0d) subcommands see this gist and Dell Community [conversation](https://www.dell.com/community/en/conversations/monitors/ddm-20-command-line-interface/647fa068f4ccf8a8de56b6a3).
Coded in IntelliJ IDEA using [Batch Scripts Support](https://plugins.jetbrains.com/plugin/265-batch-scripts-support) plugin with love ❤️.