refactor niri config, switch gui to niri for Akun
This commit is contained in:
parent
d4bfe6f35e
commit
86f4ec3f8f
10 changed files with 43 additions and 19 deletions
25
home/david/modules/programs/wluma/config.toml
Normal file
25
home/david/modules/programs/wluma/config.toml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# [als.iio]
|
||||
# path = "/sys/bus/iio/devices"
|
||||
# thresholds = { 0 = "night", 20 = "dark", 80 = "dim", 250 = "normal", 500 = "bright", 800 = "outdoors" }
|
||||
|
||||
[als.webcam]
|
||||
video = 0
|
||||
thresholds = { 0 = "night", 15 = "dark", 30 = "dim", 45 = "normal", 60 = "bright", 75 = "outdoors" }
|
||||
|
||||
# [als.time]
|
||||
# thresholds = { 0 = "night", 7 = "dark", 9 = "dim", 11 = "normal", 13 = "bright", 16 = "normal", 18 = "dark", 20 = "night" }
|
||||
|
||||
# [als.none]
|
||||
|
||||
[[output.backlight]]
|
||||
name = "eDP-1"
|
||||
path = "/sys/class/backlight/intel_backlight"
|
||||
capturer = "wayland"
|
||||
|
||||
# [[output.ddcutil]]
|
||||
# name = "Dell Inc. DELL P2415Q"
|
||||
# capturer = "none"
|
||||
|
||||
[[keyboard]]
|
||||
name = "keyboard-asus"
|
||||
path = "/sys/bus/platform/devices/asus-nb-wmi/leds/asus::kbd_backlight"
|
||||
14
home/david/modules/programs/wluma/default.nix
Normal file
14
home/david/modules/programs/wluma/default.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ lib, config, ... }:
|
||||
let
|
||||
cfg = config.david.programs.wluma;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
david.programs.wluma = {
|
||||
enable = lib.mkEnableOption "wluma";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
youthlic.programs.wluma.config = ./config.toml;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue