Hyprlux
Hyprland utility that automates vibrance and night light control
Install / Use
/learn @amadejkastelic/HyprluxREADME
Hyprlux
A Hyprland utility program that automatically switches between shaders.
It currently supports two shaders with configurable strengths:
- Night light (blue light filter) - based on location or custom times
- Vibrance - toggles digital vibrance based on currently active window
Installation
<h4> <sub> <img src="https://cdn.simpleicons.org/rust/white" height="20" width="20"> </sub> Cargo <a href="https://crates.io/crates/hyprlux"><img alt="Cargo Version" src="https://img.shields.io/crates/v/hyprlux?color=brightgreen&label=" align="right"></a> </h4> <details> <summary>Click to expand</summary>cargo install hyprlux
</details>
<h4>
<sub>
<img src="https://cdn.simpleicons.org/nixos/white"
height="20"
width="20">
</sub>
NixOS
</a><a href="nix"><img alt="NixOS Version" src="https://img.shields.io/badge/git-brightgreen" align="right"></a>
</h4>
<details>
<summary>Click to expand</summary>
Add hyprlux to your flake inputs:
inputs = {
hyprlux = {
url = "github:amadejkastelic/Hyprlux";
};
};
Then import either the home manager module or nixos module:
imports = [
inputs.hyprlux.nixosModules.default
];
imports = [
inputs.hyprlux.homeManagerModules.default
];
And configure it:
{inputs, ...}: {
programs.hyprlux = {
enable = true;
systemd = {
enable = true;
target = "hyprland-session.target";
};
night_light = {
enabled = true;
# Manual sunset and sunrise
start_time = "22:00";
end_time = "06:00";
# Automatic sunset and sunrise
latitude = 46.056946;
longitude = 14.505751;
temperature = 3500;
};
vibrance_configs = [
{
window_class = "steam_app_1172470";
window_title = "Apex Legends";
strength = 100;
}
{
window_class = "cs2";
window_title = "";
strength = 100;
}
];
};
}
</details>
<h4>
<sub>
<img src="https://cdn.simpleicons.org/archlinux/white"
height="20"
width="20">
</sub>
Arch
<a href="https://aur.archlinux.org/packages/hyprlux"><img alt="AUR Version" src="https://img.shields.io/aur/version/hyprlux?color=brightgreen&label=" align="right"></a>
</h4>
<details>
<summary>Click to expand</summary>
Install using your favorite AUR helper:
paru -S hyprlux
</details>
Configuration
Hyprlux looks for configs in the following locations (sorted by priority):
- Path passed as first argument when running the binary
$XDG_CONFIG_HOME/hypr/hyprlux.toml/etc/hyprlux/config.toml
Example configurations are available in examples.
Running
Either run it as a systemd service or include it in your hyprland exec-once config:
exec-once=hyprlux > /tmp/hyprlux.log 2>&1
Building
Run cargo build
Related Skills
himalaya
354.3kCLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
node-connect
354.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
taskflow
354.3kUse when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
frontend-design
112.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
