Allow to change resolution more than 6 times in 10 seconds (default)
This commit is contained in:
parent
e5ccd6d913
commit
1251a21aba
@ -70,6 +70,9 @@ startup = do
|
||||
};
|
||||
|
||||
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 }')";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user