aboutsummaryrefslogtreecommitdiff
path: root/dot_config/hypr/config/rules.lua
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/hypr/config/rules.lua')
-rw-r--r--dot_config/hypr/config/rules.lua14
1 files changed, 13 insertions, 1 deletions
diff --git a/dot_config/hypr/config/rules.lua b/dot_config/hypr/config/rules.lua
index b3c5024..23fe9ba 100644
--- a/dot_config/hypr/config/rules.lua
+++ b/dot_config/hypr/config/rules.lua
@@ -40,8 +40,20 @@ hl.window_rule({
name = "steam_notifications",
match = {
class = "^(steam)$",
- title = "^(notificationtoasts_*)$"
+ title = "^(notificationtoasts_.*)$"
},
no_focus = true,
no_initial_focus = true
})
+
+hl.window_rule({
+ name = "discord",
+ match = {
+ class = "discord"
+ },
+ monitor = SECONDARY_DISPLAY,
+ workspace = "6 silent",
+ no_initial_focus = true,
+ focus_on_activate = false,
+ suppress_event = "activatefocus"
+})