Improve window rules
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
-- 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,
|
||||
})
|
||||
-- JetBrains Rules end
|
||||
|
||||
hl.window_rule({
|
||||
name = "Picture-in-Picture",
|
||||
match = {
|
||||
title = "Picture-in-Picture",
|
||||
},
|
||||
float = true,
|
||||
})
|
||||
Reference in New Issue
Block a user