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;
|
rounding = 4;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
render = {
|
||||||
|
direct_scanout = mkDashDefault config.mods.gaming.enable;
|
||||||
|
};
|
||||||
|
|
||||||
animations = {
|
animations = {
|
||||||
bezier = "penguin,0.05,0.9,0.1,1.0";
|
bezier = "penguin,0.05,0.9,0.1,1.0";
|
||||||
animation = [
|
animation = [
|
||||||
|
|
@ -298,7 +302,11 @@ in {
|
||||||
|
|
||||||
cursor = {
|
cursor = {
|
||||||
enable_hyprcursor = true;
|
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
|
# done with nix, this would break the current setup otherwise
|
||||||
sync_gsettings_theme = false;
|
sync_gsettings_theme = false;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue