aboutsummaryrefslogtreecommitdiff
path: root/hypr/configs/windows.lua
diff options
context:
space:
mode:
authorBlaster4385 <[email protected]>2026-05-15 23:28:20 +0530
committerBlaster4385 <[email protected]>2026-05-18 16:52:47 +0530
commitf826256c010c0e5c8c2bd64adb1fae1c3f399717 (patch)
tree194e7c15f0903b073d2db3dcae6aa09651341a85 /hypr/configs/windows.lua
parent8b254a730b26a40ef2d2ccf0881075a6719b6712 (diff)
feat: migrate hyprland config to luaHEADmain
Diffstat (limited to 'hypr/configs/windows.lua')
-rw-r--r--hypr/configs/windows.lua44
1 files changed, 44 insertions, 0 deletions
diff --git a/hypr/configs/windows.lua b/hypr/configs/windows.lua
new file mode 100644
index 0000000..e08e176
--- /dev/null
+++ b/hypr/configs/windows.lua
@@ -0,0 +1,44 @@
+hl.window_rule({
+ match = { class = ".*" },
+ suppress_event = "maximize",
+})
+
+hl.window_rule({
+ match = { class = ".*" },
+ idle_inhibit = "fullscreen",
+})
+
+hl.window_rule({
+ match = { content = 3 },
+ immediate = true,
+ idle_inhibit = "fullscreen",
+ fullscreen = true,
+ content = "game"
+})
+
+hl.window_rule({
+ match = { class = "^(eden)$" },
+ no_vrr = true
+})
+
+hl.window_rule({
+ match = { class = "^(steam_app_default)$" },
+ border_size = 0,
+ rounding = 0,
+ no_anim = true,
+ no_blur = true,
+ no_dim = true,
+ no_shadow = true
+})
+
+hl.layer_rule({
+ match = { namespace = "notifications" },
+ blur = true,
+ ignore_alpha = 0.5
+})
+
+hl.layer_rule({
+ match = { namespace = "rofi" },
+ blur = true,
+ ignore_alpha = 0.5
+})