Display : Use max fps by default and limit per-game.

This commit is contained in:
Dmitry Voronin 2024-09-07 22:33:28 +03:00
parent 9869cc91a0
commit bce9ad204d
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 6 additions and 6 deletions

View file

@ -6,7 +6,7 @@
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
output * scale 1
output "Huawei Technologies Co., Inc. ZQE-CBA 0xC080F622" mode 3440x1440@59.973Hz adaptive_sync off pos 0,1080
output "ASUSTek COMPUTER INC ASUS VA24E R2LMTF127165" transform 180 mode 1920x1080@60.000Hz pos 780,0
output "Huawei Technologies Co., Inc. ZQE-CBA 0xC080F622" pos 0,1080
output "ASUSTek COMPUTER INC ASUS VA24E R2LMTF127165" transform 180 pos 780,0
'';
}

View file

@ -4,9 +4,9 @@
function gamingon() {
on() {
swaymsg "output \"Huawei Technologies Co., Inc. ZQE-CBA 0xC080F622\" adaptive_sync on"
swaymsg "output \"Huawei Technologies Co., Inc. ZQE-CBA 0xC080F622\" mode 3440x1440@164.999Hz"
# swaymsg "output \"Huawei Technologies Co., Inc. ZQE-CBA 0xC080F622\" mode 3440x1440@164.999Hz"
swaymsg "output \"AOC 24G2W1G4 ATNL61A129625\" adaptive_sync on"
swaymsg "output \"AOC 24G2W1G4 ATNL61A129625\" mode 1920x1080@144.000Hz"
# swaymsg "output \"AOC 24G2W1G4 ATNL61A129625\" mode 1920x1080@144.000Hz"
_gamingstate on
}
_sway_iterate_sockets on
@ -16,9 +16,9 @@
function gamingoff() {
off() {
swaymsg "output \"Huawei Technologies Co., Inc. ZQE-CBA 0xC080F622\" adaptive_sync off"
swaymsg "output \"Huawei Technologies Co., Inc. ZQE-CBA 0xC080F622\" mode 3440x1440@59.973Hz"
# swaymsg "output \"Huawei Technologies Co., Inc. ZQE-CBA 0xC080F622\" mode 3440x1440@59.973Hz"
swaymsg "output \"AOC 24G2W1G4 ATNL61A129625\" adaptive_sync off"
swaymsg "output \"AOC 24G2W1G4 ATNL61A129625\" mode 1920x1080@60.000Hz"
# swaymsg "output \"AOC 24G2W1G4 ATNL61A129625\" mode 1920x1080@60.000Hz"
_gamingstate off
}
_sway_iterate_sockets off