Compare commits

..

3 commits

Author SHA1 Message Date
Pedro Rey Anca 919d585876 Speedcrunch 2024-09-14 12:31:50 +02:00
Pedro Rey Anca 7d6f1ee06c New monitor!! 2024-09-14 12:31:42 +02:00
Pedro Rey Anca 4e0841d1b0 Stop using extraConfig 2024-09-14 12:28:25 +02:00
4 changed files with 28 additions and 23 deletions

View file

@ -1,4 +1,8 @@
{pkgs, ...}: {
{
pkgs,
username,
...
}: {
imports = [
./hardware-configuration.nix
./../../modules/core
@ -26,4 +30,9 @@
capSysAdmin = true;
openFirewall = true;
};
home-manager.users.${username}.wayland.windowManager.hyprland.settings.monitor = [
"HDMI-A-1, 1920x1080@60, 0x0, 1"
"DP-1, 2560x1440@165, 1920x0, 1.333333"
];
}

View file

@ -292,14 +292,14 @@
"maxsize 1 1,class:^(xwaylandvideobridge)$"
"noblur,class:^(xwaylandvideobridge)$"
];
monitor = [
",preferred,auto,1"
];
xwayland = {
force_zero_scaling = true;
};
};
extraConfig = "
monitor=,preferred,auto,1
xwayland {
force_zero_scaling = true
}
";
};
}

View file

@ -25,19 +25,14 @@
on-timeout = ckb-next --profile "Off" # turn off keyboard backlight.
on-resume = ckb-next --profile "Personal" # turn on keyboard backlight.
}
listener {
timeout = 330 # 5.5min
on-timeout = ddcmonitorctl off # screen off when timeout has passed
on-resume = ddcmonitorctl on # screen on when activity is detected after timeout has fired.
}
''
else ''
else null
)
+ ''
listener {
timeout = 330 # 5.5min
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
}
''
);
'';
}

View file

@ -39,6 +39,7 @@
orca-slicer
swappy
# tdf # cli pdf viewer
speedcrunch
thunderbird
todo # cli todo list
toipe # typing test in the terminal