Files
hypr-conf/windowrules.lua
T

44 lines
709 B
Lua

-- JetBrains Rules start
hl.window_rule({
name = "tab-drag-no-initial-focus",
match = {
class = "^jetbrains-(?!toolbox)",
title = "^(!win.*)",
},
no_initial_focus = true,
})
hl.window_rule({
name = "no-focus-tab-drag-jb",
match = {
class = "^(.*jetbrains.*)$",
title = "^\\s$",
},
no_focus = true,
})
hl.window_rule({
name = "jetbrains-tag",
match = {
class = "^jetbrains%-.*",
initial_title = "^$",
},
tag = "+jb",
})
hl.window_rule({
name = "jetbrains-focus",
match = {
tag = "jb",
},
focus_on_activate = true,
no_initial_focus = true,
})
-- JetBrains Rules end
hl.window_rule({
name = "Picture-in-Picture",
match = {
title = "Picture-in-Picture",
},
float = true,
})