Allow to change resolution more than 6 times in 10 seconds (default)

This commit is contained in:
dump_stack() 2019-12-29 17:24:14 +00:00
parent e5ccd6d913
commit 1251a21aba
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -70,6 +70,9 @@ startup = do
}; };
systemd.user.services."xrandr" = { systemd.user.services."xrandr" = {
serviceConfig = {
StartLimitBurst = 100;
};
script = "${pkgs.xorg.xrandr}/bin/xrandr --output Virtual-1 --mode $(${pkgs.xorg.xrandr}/bin/xrandr | grep ' ' | head -n 2 | tail -n 1 | ${pkgs.gawk}/bin/awk '{ print $1 }')"; script = "${pkgs.xorg.xrandr}/bin/xrandr --output Virtual-1 --mode $(${pkgs.xorg.xrandr}/bin/xrandr | grep ' ' | head -n 2 | tail -n 1 | ${pkgs.gawk}/bin/awk '{ print $1 }')";
}; };