172 lines
3.3 KiB
Plaintext
172 lines
3.3 KiB
Plaintext
# Base Rules
|
|
$center-float-large = class:^(center-float-large)$|^(.*qimgv.*)$|^(.*mpv.*)$
|
|
windowrule {
|
|
name = center-float-large
|
|
match:class = $center-float-large
|
|
float = on
|
|
size = (monitor_w*0.7) (monitor_h*0.7)
|
|
center = 1
|
|
}
|
|
|
|
$center-float = class:^(center-float)$
|
|
$center-float-title = title:^(.*Open Folder.*)$|^(.*Open File.*)$|^(.*Save File.*)$|^(.*Save Folder.*)$|^(.*Save Image.*)$|^(.*Save As.*)$|^(.*Open As.*)$
|
|
windowrule {
|
|
name = center-float
|
|
match:class = $center-float
|
|
float = on
|
|
size = (monitor_w*0.5) (monitor_h*0.5)
|
|
center = 1
|
|
}
|
|
windowrule {
|
|
name = center-float-title
|
|
match:title = $center-float-title
|
|
float = on
|
|
size = (monitor_w*0.5) (monitor_h*0.5)
|
|
center = 1
|
|
}
|
|
|
|
$center-float-mini = class:^(center-float-mini)$|^(.*galculator.*)$|^(.*ytdlp-gui.*)$|^(.*udiskie.*)$|^(.*Calculator.*)$
|
|
windowrule {
|
|
name = center-float-mini
|
|
match:class = $center-float-mini
|
|
float = on
|
|
size = (monitor_w*0.3) (monitor_h*0.4)
|
|
center = 1
|
|
}
|
|
|
|
# Animation Rules
|
|
windowrule {
|
|
name = cava
|
|
match:title = ^.*cava.*$
|
|
animation = slide
|
|
}
|
|
windowrule {
|
|
name = wleave
|
|
match:class = ^.*wleave.*$
|
|
animation = popin
|
|
}
|
|
|
|
# Scratchpads
|
|
windowrule {
|
|
name = scratchpad-large
|
|
match:class = ^scratchpad-large$
|
|
float = on
|
|
size = (monitor_w*0.7) (monitor_h*0.7)
|
|
center = 1
|
|
animation = slide
|
|
workspace = special: scratchpad-large
|
|
}
|
|
|
|
windowrule {
|
|
name = scratchpad
|
|
match:class = ^scratchpad$
|
|
float = on
|
|
size = (monitor_w*0.5) (monitor_h*0.5)
|
|
center = 1
|
|
animation = slide
|
|
workspace = special: scratchpad
|
|
}
|
|
|
|
windowrule {
|
|
name = scratchpad-mini
|
|
match:class = ^scratchpad-mini$
|
|
float = on
|
|
size = (monitor_w*0.3) (monitor_h*0.4)
|
|
center = 1
|
|
animation = slide
|
|
workspace = special: scratchpad-mini
|
|
}
|
|
|
|
$sideScratchpad = class:^(.*pavucontrol.*)$|(.*blueman-manager.*)$
|
|
windowrule {
|
|
name = sideScratchpad
|
|
match:class = $sideScratchpad
|
|
float = on
|
|
size = (monitor_w*0.3) (monitor_h*0.9)
|
|
center = 1
|
|
workspace = special: scratchpad
|
|
}
|
|
|
|
# Specific App Rules
|
|
$videobridge = class:^(.*xwaylandvideobridge.*)$
|
|
windowrule {
|
|
name = videobridge
|
|
match:class = $videobridge
|
|
opacity = 0.0
|
|
}
|
|
|
|
$zathura = class:^(.*zathura.*)$
|
|
windowrule {
|
|
name = zathura
|
|
match:class = $zathura
|
|
float = on
|
|
size = (monitor_w*0.35) (monitor_h*0.9)
|
|
center = 1
|
|
}
|
|
|
|
$scrcpy = class:^(.*wgpsscli.*)$
|
|
windowrule {
|
|
name = scrcpy
|
|
match:class = $scrcpy
|
|
float = on
|
|
center = 1
|
|
}
|
|
|
|
$agpss = class:^(-*agpss.*)$
|
|
windowrule {
|
|
name = agpss
|
|
match:class = $agpss
|
|
tile = on
|
|
}
|
|
|
|
# Layer Rules
|
|
layerrule {
|
|
name = rofi
|
|
match:namespace = rofi
|
|
animation = popin 80% 150ms
|
|
blur = on
|
|
}
|
|
|
|
layerrule {
|
|
name = waybar
|
|
match:namespace = waybar
|
|
blur = on
|
|
}
|
|
|
|
layerrule {
|
|
name = swaync-notification
|
|
match:namespace = swaync-notification-window
|
|
animation = slide
|
|
}
|
|
|
|
layerrule {
|
|
name = swaync-control
|
|
match:namespace = swaync-control-center
|
|
animation = slide
|
|
}
|
|
|
|
layerrule {
|
|
name = swayosd
|
|
match:namespace = swayosd
|
|
animation = fade
|
|
}
|
|
|
|
layerrule {
|
|
name = selection
|
|
match:namespace = selection
|
|
animation = fade
|
|
}
|
|
|
|
layerrule {
|
|
name = hyprlock
|
|
match:namespace = hyprlock
|
|
animation = fade
|
|
}
|
|
|
|
layerrule {
|
|
name = hyprpicker
|
|
match:namespace = hyprpicker
|
|
animation = none
|
|
}
|
|
|