module(wluma): Refactor wluma module

This commit is contained in:
ulic-youthlic 2025-07-06 08:58:26 +08:00
parent 34b35719e8
commit deac0d0d8f
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
7 changed files with 98 additions and 49 deletions

View file

@ -2,6 +2,17 @@
inherit (inputs.niri-flake.lib.kdl) node leaf flag;
in {
david.programs.niri = {
wluma.extraSettings = {
output = {
backlight = [
{
name = "eDP-1";
path = "/sys/class/backlight/intel_backlight";
capturer = "wayland";
}
];
};
};
extraConfig = let
output = node "output";
in [