Improve window rules
This commit is contained in:
@@ -23,6 +23,7 @@ hl.monitor({
|
|||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
---------------------
|
---------------------
|
||||||
---- MY PROGRAMS ----
|
---- MY PROGRAMS ----
|
||||||
---------------------
|
---------------------
|
||||||
@@ -363,3 +364,4 @@ hl.window_rule({
|
|||||||
float = true,
|
float = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
require('windowrules')
|
||||||
|
|||||||
@@ -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