Sway: Difference between revisions
imported>Artturin m Not markdown |
imported>Artturin add realtime |
||
Line 244: | Line 244: | ||
The <code>programs.sway.enable</code> option does this automatically. | The <code>programs.sway.enable</code> option does this automatically. | ||
=== Inferior performance compared to other distributions === | |||
Enabling realtime may improve latency and reduce stuttering, specially in high load scenarios. | |||
<syntaxhighlight lang="nix"> | |||
security.pam.loginLimits = [ | |||
{ domain = "@users"; item = "rtprio"; type = "-"; value = 1; } | |||
]; | |||
</syntaxhighlight> | |||
Enabling this option allows any program run by the "users" group to request real-time priority. | |||
[[Category:Window managers]] | [[Category:Window managers]] | ||
[[Category:Applications]] | [[Category:Applications]] |