From 39ef00af7cc217a50cbad0bb484693b1e701a531 Mon Sep 17 00:00:00 2001 From: notohh Date: Tue, 8 Oct 2024 09:36:13 -0400 Subject: [PATCH] hyprland: enable csgo plugin --- home/wayland/hyprland/config/plugins.nix | 16 ++++++++-------- home/wayland/hyprland/default.nix | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/home/wayland/hyprland/config/plugins.nix b/home/wayland/hyprland/config/plugins.nix index 92f9014..de04e28 100644 --- a/home/wayland/hyprland/config/plugins.nix +++ b/home/wayland/hyprland/config/plugins.nix @@ -3,16 +3,16 @@ inputs, ... }: { + wayland.windowManager.hyprland.plugins = [ + inputs.hyprland-plugins.packages.${pkgs.system}.csgo-vulkan-fix + ]; wayland.windowManager.hyprland.settings = { - plugins = [ - inputs.hyprland-plugins.packages.${pkgs.system}.hyprexpo - ]; plugin = { - hyprexpo = { - columns = 3; - gap_size = 5; - bg_col = "rgb(111111)"; - workspace_method = "center current"; + csgo-vulkan-fix = { + res_w = 1280; + res_h = 1024; + class = "cs2"; + fix_mouse = true; }; }; }; diff --git a/home/wayland/hyprland/default.nix b/home/wayland/hyprland/default.nix index a3a6282..594a9ef 100644 --- a/home/wayland/hyprland/default.nix +++ b/home/wayland/hyprland/default.nix @@ -4,7 +4,7 @@ ./config/general.nix ./config/binds.nix ./config/rules.nix - # ./config/plugins.nix + ./config/plugins.nix ]; wayland.windowManager.hyprland = { enable = true;