97 lines
1.8 KiB
Text
97 lines
1.8 KiB
Text
#
|
|
# windows and workspaces
|
|
# https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
|
# https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
|
|
|
windowrule {
|
|
name = windowrule-1
|
|
suppress_event = maximize
|
|
match:class = .* # You'll probably like this.
|
|
}
|
|
|
|
windowrule {
|
|
name = inhibit-fullscreen
|
|
idle_inhibit = fullscreen
|
|
match:initial_title = (.*)
|
|
}
|
|
|
|
|
|
windowrule {
|
|
name = float-keypass-confirmation
|
|
float = on
|
|
center = on
|
|
size = 600 225
|
|
match:initial_title = (^KeePassXC - .*)
|
|
}
|
|
|
|
windowrule {
|
|
name = windowrule-6
|
|
float = on
|
|
pin = on
|
|
no_initial_focus = on
|
|
size = (monitor_w*0.25) (monitor_h*0.25)
|
|
move = ((monitor_w-window_w)-65) 5
|
|
keep_aspect_ratio = false
|
|
match:initial_title = (^Picture-in-Picture$)
|
|
match:initial_class = (^firefox$)
|
|
}
|
|
|
|
|
|
windowrule {
|
|
name = hide-xwaylandvideobridge
|
|
move = (-(monitor_w*1)) (-(monitor_h*1))
|
|
no_initial_focus = on
|
|
match:initial_class = (^xwaylandvideobridge$)
|
|
}
|
|
|
|
|
|
windowrule {
|
|
name = polkit
|
|
dim_around = on
|
|
center = on
|
|
float = on
|
|
pin = on
|
|
stay_focused = on
|
|
animation = gnomed
|
|
match:initial_title = (^Hyprland Polkit Agent$)
|
|
}
|
|
|
|
|
|
windowrule {
|
|
name = opensnitch-confirmation
|
|
dim_around = on
|
|
stay_focused = on
|
|
animation = slidein
|
|
float = on
|
|
size = 960 540
|
|
center = on
|
|
match:initial_class = (^opensnitch_ui$)
|
|
match:initial_title = negative:(^OpenSnitch Network Statistics 1.8.0$)
|
|
}
|
|
|
|
|
|
windowrule {
|
|
name = steam-onscreen-keyboard
|
|
pin = on
|
|
no_blur = on
|
|
border_size = 0
|
|
no_shadow = on
|
|
match:initial_title = (^Steam Input On-screen Keyboard$)
|
|
}
|
|
|
|
# disable fade animation for vicinae only
|
|
layerrule {
|
|
name = layerrule-1
|
|
no_anim = on
|
|
blur = on
|
|
ignore_alpha = 0
|
|
match:namespace = vicinae
|
|
}
|
|
|
|
# layer rules
|
|
layerrule {
|
|
name = layerrule-2
|
|
animation = slide right
|
|
match:namespace = waybar
|
|
}
|
|
|