Gaming: direct_scanout in Hyprland

This commit is contained in:
DashieTM 2025-05-11 11:33:20 +02:00
parent 79a66b1f84
commit ea385722b0

View file

@ -254,6 +254,10 @@ in {
rounding = 4;
};
render = {
direct_scanout = mkDashDefault config.mods.gaming.enable;
};
animations = {
bezier = "penguin,0.05,0.9,0.1,1.0";
animation = [
@ -298,7 +302,11 @@ in {
cursor = {
enable_hyprcursor = true;
no_hardware_cursors = mkDashDefault config.mods.gpu.nvidia.enable;
no_hardware_cursors = mkDashDefault (
if config.mods.gpu.nvidia.enable
then 2
else 0
);
# done with nix, this would break the current setup otherwise
sync_gsettings_theme = false;
};