fixed capslock with modifier keys not trigger popup

This commit is contained in:
Asaki Yuki 2026-04-13 01:29:05 +07:00
parent 06a099aeb5
commit 6f07cf2b90
5 changed files with 106 additions and 89 deletions

View file

@ -6,7 +6,7 @@
}:
let
ENABLE_HDR = false;
in
in
{
imports = [
./hardware-configuration.nix
@ -50,29 +50,32 @@ in
wm.niri.enable = false;
wm.hyprland.enable = true;
wm.hyprland.monitors = [
({
output = "eDP-1";
mode = "1920x1200@60";
position = "0x0";
scale = 1;
} // lib.optionalAttrs ENABLE_HDR {
bitdepth = 10;
cm = "hdr";
supports_wide_color = 1;
supports_hdr = 1;
(
{
output = "eDP-1";
mode = "1920x1200@60";
position = "0x0";
scale = 1;
}
// lib.optionalAttrs ENABLE_HDR {
bitdepth = 10;
cm = "hdr";
supports_wide_color = 1;
supports_hdr = 1;
sdrbrightness = 1.0;
sdrsaturation = 1.0;
sdrbrightness = 1.0;
sdrsaturation = 1.0;
sdr_min_luminance = 0.005;
sdr_max_luminance = 200;
sdr_min_luminance = 0.005;
sdr_max_luminance = 200;
min_luminance = 0.0005;
max_luminance = 400;
max_avg_luminance = 250;
min_luminance = 0.0005;
max_luminance = 400;
max_avg_luminance = 250;
sdr_eotf = 2;
})
sdr_eotf = 2;
}
)
];
bluetooth.enable = true;