module(wluma): Refactor wluma module
This commit is contained in:
parent
34b35719e8
commit
deac0d0d8f
7 changed files with 98 additions and 49 deletions
|
|
@ -2,6 +2,28 @@
|
|||
inherit (inputs.niri-flake.lib.kdl) node leaf flag;
|
||||
in {
|
||||
david.programs.niri = {
|
||||
wluma.extraSettings = {
|
||||
output = {
|
||||
backlight = [
|
||||
{
|
||||
name = "eDP-1";
|
||||
path = "/sys/class/backlight/nvidia_0";
|
||||
capturer = "wayland";
|
||||
}
|
||||
{
|
||||
name = "DP-3";
|
||||
path = "/sys/class/backlight/ddcci13";
|
||||
capturer = "wayland";
|
||||
}
|
||||
];
|
||||
};
|
||||
keyboard = [
|
||||
{
|
||||
name = "keyboard-asus";
|
||||
path = "/sys/bus/platform/devices/asus-nb-wmi/leds/asus::kbd_backlight";
|
||||
}
|
||||
];
|
||||
};
|
||||
extraConfig = let
|
||||
output = node "output";
|
||||
in [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue