mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Fix: Jetbrains rules were not working properly anymore (#4150)
This commit is contained in:
@@ -1,22 +1,41 @@
|
|||||||
# Fix splash screen showing in weird places and prevent annoying focus takeovers
|
# Fix splash screen showing in weird places and prevent annoying focus takeovers
|
||||||
windowrule = tag +jetbrains-splash, match:class ^(jetbrains-.*)$, match:title ^(splash)$, match:float 1
|
windowrule {
|
||||||
windowrule = center on, match:tag jetbrains-splash
|
name = jetbrains-splash
|
||||||
windowrule = no_focus on, match:tag jetbrains-splash
|
match:class = ^(jetbrains-.*)$
|
||||||
windowrule = border_size 0, match:tag jetbrains-splash
|
match:title = ^(splash)$
|
||||||
|
match:float = 1
|
||||||
|
tag = +jetbrains-splash
|
||||||
|
center = on
|
||||||
|
no_focus = on
|
||||||
|
border_size = 0
|
||||||
|
}
|
||||||
|
|
||||||
# Center popups/find windows
|
# Center popups/find windows
|
||||||
windowrule = tag +jetbrains, match:class ^(jetbrains-.*), match:title ^()$, match:float 1
|
windowrule {
|
||||||
windowrule = center on, match:tag jetbrains
|
name = jetbrains-popup
|
||||||
|
match:class = ^(jetbrains-.*)
|
||||||
# Enabling this makes it possible to provide input in popup dialogs (search window, new file, etc.)
|
match:title = ^()$
|
||||||
windowrule = stay_focused on, match:tag jetbrains
|
match:float = 1
|
||||||
windowrule = border_size 0, match:tag jetbrains
|
tag = +jetbrains
|
||||||
|
center = on
|
||||||
# For some reason tag:jetbrains does not work for size rule
|
# Enabling this makes it possible to provide input in popup dialogs (search window, new file, etc.)
|
||||||
windowrule = min_size (monitor_w*0.5) (monitor_h*0.5), match:class ^(jetbrains-.*), match:title ^()$, match:float 1
|
stay_focused = on
|
||||||
|
border_size = 0
|
||||||
|
min_size = (monitor_w*0.5) (monitor_h*0.5)
|
||||||
|
}
|
||||||
|
|
||||||
# Disable window flicker when autocomplete or tooltips appear
|
# Disable window flicker when autocomplete or tooltips appear
|
||||||
windowrule = no_initial_focus on, match:class ^(jetbrains-.*)$, match:title ^(win.*)$, match:float 1
|
windowrule {
|
||||||
|
name = jetbrains-tooltip
|
||||||
|
match:class = ^(jetbrains-.*)$
|
||||||
|
match:title = ^(win.*)$
|
||||||
|
match:float = 1
|
||||||
|
no_initial_focus = on
|
||||||
|
}
|
||||||
|
|
||||||
# Disable mouse focus
|
# Disable mouse focus
|
||||||
windowrule = no_follow_mouse on, match:class ^(jetbrains-.*)$
|
windowrule {
|
||||||
|
name = jetbrains-focus
|
||||||
|
no_follow_mouse = on
|
||||||
|
match:class = ^(jetbrains-.*)$
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user