add hdr variables
This commit is contained in:
parent
1be064468c
commit
3b6e132d19
3 changed files with 11 additions and 20 deletions
|
|
@ -1,8 +1,10 @@
|
||||||
{
|
{pkgs, ...}: {
|
||||||
libs,
|
home-manager.users.asakiyuki.wayland.windowManager.hyprland.settings = {
|
||||||
pkgs,
|
"$SDR_SCREEN_CONFIG" = "eDP-1, 1920x1200@60, 0x0, 1";
|
||||||
...
|
"$HDR_SCREEN_CONFIG" = "eDP-1, 1920x1200@60, 0x0, 1, bitdepth, 10, cm, hdredid";
|
||||||
}: {
|
"$CURRENT_STATE_SCREEN" = "$SDR_SCREEN_CONFIG";
|
||||||
|
};
|
||||||
|
|
||||||
device = {
|
device = {
|
||||||
flake-name = "ideapad-slim-5";
|
flake-name = "ideapad-slim-5";
|
||||||
cursors = "aemeath";
|
cursors = "aemeath";
|
||||||
|
|
@ -15,21 +17,9 @@
|
||||||
|
|
||||||
wm.niri.enable = false;
|
wm.niri.enable = false;
|
||||||
wm.hyprland.enable = true;
|
wm.hyprland.enable = true;
|
||||||
wm.hyprland.monitors = [
|
wm.hyprland.monitor = [
|
||||||
"eDP-1, 1920x1200@60, 0x0, 1, bitdepth, 10, cm, hdr, icc, ${libs.root "/assets/srgb_to_gamma2p2_400_mhc2.icm"}"
|
"$CURRENT_STATE_SCREEN"
|
||||||
];
|
];
|
||||||
# wm.hyprland.monitorsv2 = [
|
|
||||||
# {
|
|
||||||
# output = "eDP-1";
|
|
||||||
# mode = "1920x1200@60";
|
|
||||||
# position = "0x0";
|
|
||||||
# scale = 1;
|
|
||||||
|
|
||||||
# bitdepth = 10;
|
|
||||||
# cm = "hdr";
|
|
||||||
# icc = builtins.toString (libs.root "/assets/srgb_to_gamma2p2_400_mhc2.icm");
|
|
||||||
# }
|
|
||||||
# ];
|
|
||||||
|
|
||||||
bluetooth.enable = true;
|
bluetooth.enable = true;
|
||||||
flatpak.enable = true;
|
flatpak.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,6 @@
|
||||||
|
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland.settings = {
|
||||||
monitorv2 = osconfig.device.wm.hyprland.monitorsv2;
|
monitorv2 = osconfig.device.wm.hyprland.monitorsv2;
|
||||||
monitor = osconfig.device.wm.hyprland.monitors;
|
monitor = osconfig.device.wm.hyprland.monitor;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -52,6 +52,7 @@
|
||||||
"SUPER, MOUSE_UP, workspace, e+1"
|
"SUPER, MOUSE_UP, workspace, e+1"
|
||||||
|
|
||||||
", XF86TouchpadToggle, global, asakiyuki:touchpadtoggle"
|
", XF86TouchpadToggle, global, asakiyuki:touchpadtoggle"
|
||||||
|
"META ALT, B, global, asakiyuki:hdrtoggle"
|
||||||
"ALT, SPACE, global, asakiyuki:launcher"
|
"ALT, SPACE, global, asakiyuki:launcher"
|
||||||
|
|
||||||
",XF86MonBrightnessDown, exec, brightnessctl s 5%-"
|
",XF86MonBrightnessDown, exec, brightnessctl s 5%-"
|
||||||
|
|
|
||||||
Reference in a new issue