From 9e0a91d23c747717c672654a009712e2d35c37c2 Mon Sep 17 00:00:00 2001 From: caem Date: Wed, 10 Jul 2024 13:04:56 +0200 Subject: [PATCH] Add csgo-vulkan-fix hyprland plugin --- users/hu/packages/hyprland.nix | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/users/hu/packages/hyprland.nix b/users/hu/packages/hyprland.nix index c7cc46e..7a55d31 100644 --- a/users/hu/packages/hyprland.nix +++ b/users/hu/packages/hyprland.nix @@ -1,4 +1,4 @@ -{ ... }: +{ pkgs, ... }: { services.hyprpaper = { @@ -21,6 +21,11 @@ enable = true; variables = [ "--all" ]; }; + + plugins = with pkgs; [ + hyprlandPlugins.csgo-vulkan-fix + ]; + settings = { "$mod" = "SUPER"; "$terminal" = "foot"; @@ -56,6 +61,14 @@ }; }; + plugin = { + csgo-vulkan-fix = { + res_w = 1440; + res_h = 1080; + class = "cs2"; + }; + }; + bindm = [ "$mod, mouse:272, movewindow" "$mod, mouse:273, resizewindow"