Compare commits

..

No commits in common. "919d5858766e36a706efee6ff09f5b0bd9b45aba" and "8f24262eb7e32d86537aad1cc8e1a70256d3bd95" have entirely different histories.

4 changed files with 23 additions and 28 deletions

View file

@ -1,8 +1,4 @@
{ {pkgs, ...}: {
pkgs,
username,
...
}: {
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
./../../modules/core ./../../modules/core
@ -30,9 +26,4 @@
capSysAdmin = true; capSysAdmin = true;
openFirewall = 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)$" "maxsize 1 1,class:^(xwaylandvideobridge)$"
"noblur,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,14 +25,19 @@
on-timeout = ckb-next --profile "Off" # turn off keyboard backlight. on-timeout = ckb-next --profile "Off" # turn off keyboard backlight.
on-resume = ckb-next --profile "Personal" # turn on 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 null else ''
)
+ ''
listener { listener {
timeout = 330 # 5.5min timeout = 330 # 5.5min
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed 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. on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
} }
''; ''
);
} }

View file

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