mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-11-27 10:31:31 +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 a new issue