From c186cab2350b13e848dccebae59d29e97c1bc048 Mon Sep 17 00:00:00 2001
From: Bruce Wang <number5@users.noreply.github.com>
Date: Tue, 24 Sep 2024 04:36:33 +1000
Subject: [PATCH] fix hyprland config

---
 home/modules/wayland/hyprland/hyprland.conf | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/home/modules/wayland/hyprland/hyprland.conf b/home/modules/wayland/hyprland/hyprland.conf
index b4836d5..4bd3ab2 100644
--- a/home/modules/wayland/hyprland/hyprland.conf
+++ b/home/modules/wayland/hyprland/hyprland.conf
@@ -2,7 +2,7 @@
 source = ~/.config/hypr/monitors.conf
 
 input {
-    kb_layout=us,es,pl
+    kb_layout=us
     kb_options=ctrl:nocaps
     follow_mouse=0
     touchpad {
@@ -12,11 +12,10 @@ input {
 }
 
 general {
-    sensitivity=1
 
     gaps_in=6
     gaps_out=12
-    border_size=4
+    border_size=3
     col.active_border=0xffb072d1
     col.inactive_border=0xff292a37
 
@@ -109,6 +108,10 @@ windowrulev2=fullscreenstate,class:^(flameshot)$
 windowrulev2=monitor 0,class:^(flameshot)$
 windowrulev2=move 0 -195,class:^(flameshot)$
 
+# games rules
+windowrulev2 = fullscreen,class:(dotnet),title:(Terraria:.*)
+windowrulev2 = immediate, class:^(steam_app.*)$, title:.*Steam Workshop.*
+
 # submaps
 bind=ALT,R,submap,resize
 submap=resize