https://github.com/canmi21/hyprlight
Brightness control utility for Hyprland.
https://github.com/canmi21/hyprlight
archlinux aur hypr hyprland hyprlight
Last synced: 2 months ago
JSON representation
Brightness control utility for Hyprland.
- Host: GitHub
- URL: https://github.com/canmi21/hyprlight
- Owner: canmi21
- License: mit
- Created: 2025-02-21T03:36:45.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-08-19T14:19:16.000Z (7 months ago)
- Last Synced: 2025-08-19T16:28:49.148Z (7 months ago)
- Topics: archlinux, aur, hypr, hyprland, hyprlight
- Language: Rust
- Homepage: https://aur.archlinux.org/packages/hyprlight
- Size: 24.4 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hyprlight
**hyprlight** is a brightness control utility for Hyprland, allowing you to adjust the screen brightness via the command line. You can easily integrate it into your Hyprland setup to adjust brightness on the fly.
## Installation
You can install **hyprlight** from the AUR (Arch User Repository) using `yay` or any other AUR helper:
```bash
yay -S hyprlight
```
Alternatively, you can manually clone the AUR repository and build it:
```bash
git clone https://aur.archlinux.org/hyprlight.git
cd hyprlight
makepkg -si
```
## Dependencies
- `glibc`
- `brightnessctl`
- `notify-daemon`
- `cargo` (for building the package)
## Usage
Once running, **hyprlight** allows you to control the brightness of your screen. You can use the following commands:
```bash
Usage: hyprlight [OPTIONS] [STEP]
Commands:
i Increase brightness
d Decrease brightness
help Print this message or the help of the given subcommand(s)
Arguments:
[STEP] [default: 5] The brightness adjustment step
Options:
-n, --notify Enable notifications
-h, --help Print help
-V, --version Print version
Example:
hyprlight i 10 # Increase brightness by 10%
hyprlight d # Decrease brightness by default step (5%)
hyprlight i 5 -n # Increase brightness by 5% with notification
```
### Notes on Notifications:
- **hyprlight** can show notifications about brightness changes.
- If you notice that your notifications lack icons, you'll need to install **HyprDE** for full notification support. HyprDE provides the necessary icons for notifications. You can find more information on how to set it up here: [HyprDE GitHub Repository](https://github.com/HyDE-Project/HyDE).
## Links
- [AUR Package](https://aur.archlinux.org/packages/hyprlight)
- [GitHub Repository](https://github.com/canmi21/hyprlight)