feat: allow tearing for cs2
This commit is contained in:
parent
e5f49cd89f
commit
1c5f8de412
1 changed files with 6 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
# The hyprland package to use
|
# The hyprland package to use
|
||||||
package = pkgs.hyprland;
|
package = pkgs.hyprland;
|
||||||
plugins = with pkgs.hyprlandPlugins; [hyprfocus csgo-vulkan-fix];
|
plugins = with pkgs.hyprlandPlugins; [hyprfocus];
|
||||||
# Whether to enable XWayland
|
# Whether to enable XWayland
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
@ -18,13 +18,17 @@
|
||||||
monitor = [
|
monitor = [
|
||||||
#"eDP-1, 1920x1080@165,0x0,1"
|
#"eDP-1, 1920x1080@165,0x0,1"
|
||||||
"HDMI-A-1, 1920x1080@75, 2560x0, 1"
|
"HDMI-A-1, 1920x1080@75, 2560x0, 1"
|
||||||
"eDP-1,preferred, auto, ${builtins.toString config.displayScale}"
|
"eDP-2,preferred, auto, ${builtins.toString config.displayScale}"
|
||||||
];
|
];
|
||||||
general = {
|
general = {
|
||||||
border_size = 1;
|
border_size = 1;
|
||||||
gaps_in = 2.5;
|
gaps_in = 2.5;
|
||||||
gaps_out = 5;
|
gaps_out = 5;
|
||||||
|
allow_tearing = true;
|
||||||
};
|
};
|
||||||
|
windowrulev2 = [
|
||||||
|
"immediate, class:^(cs2)$"
|
||||||
|
];
|
||||||
decoration = {rounding = 5;};
|
decoration = {rounding = 5;};
|
||||||
input = {
|
input = {
|
||||||
# xset rate 250 50 replacement on wayland...
|
# xset rate 250 50 replacement on wayland...
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue