Browse Source

Hyprland: Change window rules to v2 exclusively

wayland
Riyyi 1 week ago
parent
commit
4ca12fd342
  1. 22
      .config/hypr/hyprland.conf
  2. 2
      .config/hypr/hyprlock.conf

22
.config/hypr/hyprland.conf

@ -391,23 +391,23 @@ bind = Control_L SHIFT, period, exec, dunstctl context
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
# Ignore maximize requests from apps. You'll probably like this.
windowrulev2 = suppressevent maximize, class:.*
windowrule = suppressevent maximize, class:.*
# Fix some dragging issues with XWayland
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
# Set to floating
windowrule = float, feh # window rule v1 can only do either class or title, not both
windowrule = float, mpv
windowrule = float, org.pulseaudio.pavucontrol
windowrule = float, pinentry-gtk
windowrule = float, xarchiver
windowrulev2 = float, class:firefox, title:Library
windowrulev2 = float, class:firefox, title:^About.*
windowrulev2 = float, class:thunar, title:File Operation Progress
windowrule = float, class:feh # window rule v1 can only do either class or title, not both
windowrule = float, class:mpv
windowrule = float, class:org.pulseaudio.pavucontrol
windowrule = float, class:pinentry-gtk
windowrule = float, class:xarchiver
windowrule = float, class:firefox, title:Library
windowrule = float, class:firefox, title:^About.*
windowrule = float, class:thunar, title:File Operation Progress
# Resize floating windows
windowrule = size >50% >70%, org.pulseaudio.pavucontrol
windowrule = size >50% >70%, class:org.pulseaudio.pavucontrol
# Put workspaces on specific monitors
workspace = 1, monitor:desc:Ancor Communications Inc ASUS PB298 D7LMTF059917, persistent:true, default:true

2
.config/hypr/hyprlock.conf

@ -56,7 +56,7 @@ input-field {
outline_thickness = 10
outer_color = rgba(255, 255, 255, 0.0)
inner_color = rgba(0, 0, 0, 0.0)
check_color = rgba(0, 0, 0, 0.0)
check_color = rgba(255, 255, 255, 1.0)
fail_color = rgba(255, 0, 0, 1.0)
font_family = DejaVu Sans Serif

Loading…
Cancel
Save