hdr and workspaces
This commit is contained in:
@@ -5,6 +5,7 @@ let
|
|||||||
scale = 1.0;
|
scale = 1.0;
|
||||||
adaptiveSync = true;
|
adaptiveSync = true;
|
||||||
status = "enable";
|
status = "enable";
|
||||||
|
transform = "normal";
|
||||||
};
|
};
|
||||||
|
|
||||||
in {
|
in {
|
||||||
@@ -14,9 +15,15 @@ in {
|
|||||||
enable = true;
|
enable = true;
|
||||||
systemdTarget = "graphical-session.target";
|
systemdTarget = "graphical-session.target";
|
||||||
settings = [
|
settings = [
|
||||||
|
{output = baseOutput//{
|
||||||
|
criteria = "LG Electronics LG ULTRAGEAR+ 511NTDVGC194";
|
||||||
|
mode = "2560x1440@480.168";
|
||||||
|
# mode = "1920x1080x240.084";
|
||||||
|
};}
|
||||||
{output = baseOutput//{
|
{output = baseOutput//{
|
||||||
criteria = "AOC 24E1W1 GNSKCHA086899";
|
criteria = "AOC 24E1W1 GNSKCHA086899";
|
||||||
mode = "1920x1080@60.000";
|
mode = "1920x1080@60.000";
|
||||||
|
transform = "90";
|
||||||
};}
|
};}
|
||||||
{output = baseOutput//{
|
{output = baseOutput//{
|
||||||
criteria = "AOC 24E1W1 GNSKBHA080346";
|
criteria = "AOC 24E1W1 GNSKBHA080346";
|
||||||
@@ -38,7 +45,38 @@ in {
|
|||||||
criteria = "AOC 16G3 1DDP7HA000348";
|
criteria = "AOC 16G3 1DDP7HA000348";
|
||||||
mode = "1920x1080@144.000";
|
mode = "1920x1080@144.000";
|
||||||
};}
|
};}
|
||||||
|
{profile = {
|
||||||
|
name = "tower_00";
|
||||||
|
outputs = [
|
||||||
|
{
|
||||||
|
criteria = "AOC 24E1W1 GNSKCHA086899";
|
||||||
|
transform = "180";
|
||||||
|
position = "0,0";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
criteria = "AOC 24E1W1 GNSKBHA080346";
|
||||||
|
position = "0,1080";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
criteria = "LG Electronics LG ULTRAGEAR+ 511NTDVGC194";
|
||||||
|
position = "1920,720";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
exec = [
|
||||||
|
"${pkgs.eww}/bin/eww open bar --screen 0"
|
||||||
|
"${pkgs.hyprland}/bin/hyprctl eval \"hl.workspace_rule({ workspace = '1', monitor = 'DP-1', default = true });\""
|
||||||
|
"${pkgs.hyprland}/bin/hyprctl eval \"hl.workspace_rule({ workspace = '2', monitor = 'DP-2', default = true });\""
|
||||||
|
"${pkgs.hyprland}/bin/hyprctl eval \"hl.workspace_rule({ workspace = '3', monitor = 'DP-1', default = true });\""
|
||||||
|
"${pkgs.hyprland}/bin/hyprctl eval \"hl.workspace_rule({ workspace = '4', monitor = 'DP-1', default = true });\""
|
||||||
|
"${pkgs.hyprland}/bin/hyprctl eval \"hl.workspace_rule({ workspace = '5', monitor = 'DP-1', default = true });\""
|
||||||
|
"${pkgs.hyprland}/bin/hyprctl eval \"hl.workspace_rule({ workspace = '6', monitor = 'DP-1', default = true });\""
|
||||||
|
"${pkgs.hyprland}/bin/hyprctl eval \"hl.workspace_rule({ workspace = '7', monitor = 'DP-1', default = true });\""
|
||||||
|
"${pkgs.hyprland}/bin/hyprctl eval \"hl.workspace_rule({ workspace = '8', monitor = 'DP-1', default = true });\""
|
||||||
|
"${pkgs.hyprland}/bin/hyprctl eval \"hl.workspace_rule({ workspace = '9', monitor = 'DP-1', default = true });\""
|
||||||
|
"${pkgs.hyprland}/bin/hyprctl eval \"hl.workspace_rule({ workspace = '0', monitor = 'DP-3', default = true });\""
|
||||||
|
"${pkgs.awww}/bin/awww restore"
|
||||||
|
];
|
||||||
|
};}
|
||||||
{profile = {
|
{profile = {
|
||||||
name = "tower_0";
|
name = "tower_0";
|
||||||
outputs = [
|
outputs = [
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ in {
|
|||||||
position = "auto";
|
position = "auto";
|
||||||
scale = "auto";
|
scale = "auto";
|
||||||
bitdepth = 10;
|
bitdepth = 10;
|
||||||
|
cm = "auto"; #dcip3
|
||||||
}];
|
}];
|
||||||
#Fullscreen HDR is possible without the hdr cm setting if "render:cm_auto_hdr" is enabled.
|
#Fullscreen HDR is possible without the hdr cm setting if "render:cm_auto_hdr" is enabled.
|
||||||
|
|
||||||
@@ -91,14 +92,18 @@ in {
|
|||||||
cm_auto_hdr = 1;
|
cm_auto_hdr = 1;
|
||||||
};
|
};
|
||||||
quirks = {
|
quirks = {
|
||||||
# prefer_hdr = 1;
|
prefer_hdr = 1;
|
||||||
};
|
};
|
||||||
misc = {
|
misc = {
|
||||||
force_default_wallpaper = -1;
|
force_default_wallpaper = 0;
|
||||||
disable_hyprland_logo = true;
|
disable_hyprland_logo = true;
|
||||||
|
disable_splash_rendering = true;
|
||||||
animate_mouse_windowdragging = false;
|
animate_mouse_windowdragging = false;
|
||||||
animate_manual_resizes = false;
|
animate_manual_resizes = false;
|
||||||
vrr = 1;
|
vrr = 2;
|
||||||
|
};
|
||||||
|
debug = {
|
||||||
|
vfr = false;
|
||||||
};
|
};
|
||||||
ecosystem = {
|
ecosystem = {
|
||||||
no_update_news = true;
|
no_update_news = true;
|
||||||
|
|||||||
@@ -3,6 +3,9 @@ let isSANDBOX = builtins.elem config.syscfg.hostname [ "sandbox" ];
|
|||||||
in {
|
in {
|
||||||
config = lib.mkIf (!isSANDBOX) {
|
config = lib.mkIf (!isSANDBOX) {
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
|
"amdgpu.gpu_recovery=1"
|
||||||
|
"amdgpu.psr=0"
|
||||||
|
"amdgpu.dcfeaturemask=0x2"
|
||||||
"async_probe=tpm*" # Load TPM in parallel without blocking udev
|
"async_probe=tpm*" # Load TPM in parallel without blocking udev
|
||||||
"8250.nr_uarts=0" # Stop scanning for old motherboard serial lines (ttyS0-S3)
|
"8250.nr_uarts=0" # Stop scanning for old motherboard serial lines (ttyS0-S3)
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user