mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-11-05 03:43:00 +00:00
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