Gaming: direct_scanout in Hyprland
This commit is contained in:
parent
79a66b1f84
commit
ea385722b0
1 changed files with 9 additions and 1 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue