A simple tray-based application for controlling screen brightness on Linux.
Luminit is a lightweight and intuitive Electron application for managing monitor brightness on xrandr-powered systems. I made it simple and user-friendly to control your monitor's brightness levels.
I can try to make it work on Windows later, after all I never learned how to lower the brightness there either lol
- Brightness Control: Adjust brightness levels incrementally or choose from preset levels.
- Auto-Launch: Option to launch Luminit on system startup.
- Notifications: Enable or disable notifications for brightness adjustments.
- Customizable: Modify brightness steps and presets via configuration.
- Persistent Settings: Stores user preferences and settings using JSON.
- Help and Support: Built-in links to documentation and issue reporting.
- Node.js (v18 or later recommended)
- Electron
- Linux system with xrandr installed
git clone https://github.com/HarukaYamamoto0/Luminit.git
cd Luminit
npm install
npm start
- Increment/Decrement: Use the menu options to increase or decrease brightness by the configured step.
- Preset Levels: Select a specific brightness level from the "Preset Brightness Levels" submenu.
- Launch at Startup: Enable or disable the app’s auto-launch behavior.
- Notifications: Toggle notifications for brightness adjustments.
- Reset to Default: Restore default settings and brightness levels.
Luminit uses a config.json
file to store settings.
{
"maxLevel": 100,
"minLevel": 10,
"stepLevel": 10,
"currentLevel": 50,
"launchAStartup": false,
"notifications": true
}
- Open the settings menu.
- Click on "Open config.json".
- Edit the file and save changes.
Luminit/
├── assets
│ └── iconTemplate.png
├── biome.json
├── forge.config.js
├── LICENSE
├── package.json
├── README.md
├── src
│ ├── BrightnessController.js
│ ├── createMenu.js
│ ├── Luminit.js
│ ├── main.js
│ ├── store.js
│ └── utils
│ ├── execShellCommand.js
│ ├── showNotification.js
│ └── toggleAutoLaunch.js
└── yarn.lock
- Install Dependencies:
yarn
- Start Development:
yarn dev
- Build for Production:
yarn make
Contributions are welcome! Follow the steps below to contribute:
- Fork the repository.
- Create a feature branch:
git checkout -b feature-name
. - Commit changes:
git commit -m 'Add feature-name'
. - Push to the branch:
git push origin feature-name
. - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for more information.