71 lines
1.6 KiB
Plaintext
71 lines
1.6 KiB
Plaintext
##############################
|
|
### WINDOWS AND WORKSPACES ###
|
|
##############################
|
|
|
|
# See https://wiki.hypr.land/Configuring/Window-Rules/ for more
|
|
# See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules
|
|
|
|
# Example windowrules that are useful
|
|
|
|
windowrule {
|
|
# Ignore maximize requests from all apps. You'll probably like this.
|
|
name = suppress-maximize-events
|
|
match:class = .*
|
|
|
|
suppress_event = maximize
|
|
}
|
|
|
|
windowrule {
|
|
# Fix some dragging issues with XWayland
|
|
name = fix-xwayland-drags
|
|
match:class = ^$
|
|
match:title = ^$
|
|
match:xwayland = true
|
|
match:float = true
|
|
match:fullscreen = false
|
|
match:pin = false
|
|
|
|
no_focus = true
|
|
}
|
|
|
|
# Hyprland-run windowrule
|
|
#
|
|
windowrule {
|
|
name = move-hyprland-run
|
|
|
|
match:class = hyprland-run
|
|
|
|
move = 20 monitor_h-120
|
|
float = yes
|
|
}
|
|
|
|
# SwayNC layer rules
|
|
layerrule = blur on, match:namespace swaync-control-center
|
|
layerrule = ignore_alpha 0.5, match:namespace swaync-control-center
|
|
layerrule = blur on, match:namespace swaync-notification-window
|
|
layerrule = ignore_alpha 0.5, match:namespace swaync-notification-window
|
|
|
|
|
|
# Ref https://wiki.hypr.land/Configuring/Workspace-Rules/
|
|
# "Smart gaps" / "No gaps when only"
|
|
# uncomment all if you wish to use that.
|
|
# workspace = w[tv1], gapsout:0, gapsin:0
|
|
# workspace = f[1], gapsout:0, gapsin:0
|
|
# windowrule {
|
|
# name = no-gaps-wtv1
|
|
# match:float = false
|
|
# match:workspace = w[tv1]
|
|
#
|
|
# border_size = 0
|
|
# rounding = 0
|
|
# }
|
|
#
|
|
# windowrule {
|
|
# name = no-gaps-f1
|
|
# match:float = false
|
|
# match:workspace = f[1]
|
|
#
|
|
# border_size = 0
|
|
# rounding = 0
|
|
# }
|