From 0a174854b5f829e422b28ec805a09692b12d3d5f Mon Sep 17 00:00:00 2001 From: voidarclabs Date: Thu, 22 Jan 2026 20:29:51 +0000 Subject: [PATCH] change to new hypr version --- .config/hypr/rules.conf | 171 +++++++++++++++++++++++++++++----------- .config/hypr/style.conf | 6 +- 2 files changed, 130 insertions(+), 47 deletions(-) diff --git a/.config/hypr/rules.conf b/.config/hypr/rules.conf index c9daecd7..99a6f997 100644 --- a/.config/hypr/rules.conf +++ b/.config/hypr/rules.conf @@ -1,53 +1,136 @@ # Don't dim youtube -windowrulev2 = nodim, class:^(firefox|Firefox)$, title:^(.*YouTube.*)$ -windowrulev2 = opaque, class:^(firefox|Firefox)$, title:^(.*YouTube.*)$ -windowrulev2 = nodim, class:^(cafe.avery.Delfin)$ -windowrulev2 = opaque, class:^(cafe.avery.Delfin)$ +windowrule { + name = nodim-youtube + no_dim = on + opaque = on + match:class = ^(firefox|Firefox)$ + match:title = ^(.*YouTube.*)$ +} -# Fix Davinci and Unreal -windowrulev2=unset,class:UnrealEditor$,title:\w*$ -windowrulev2=noinitialfocus,class:UnrealEditor$,title:\w*$ -windowrulev2=suppressevent activate,class:UnrealEditor$,title:\w*$ -windowrulev2 = nodim, class:^(resolve)$ -windowrulev2 = opaque, class:^(resolve)$ -windowrulev2 = nofocus, class:^(resolve)$, title:^(.*Drag.*)$ +windowrule { + name = nodim-delfin + no_dim = on + opaque = on + match:class = ^(cafe.avery.Delfin)$ +} # Floaty Windows -windowrulev2 = float,title:^(About Mozilla Firefox)$ -windowrulev2 = float,class:^(xdg-desktop-portal-gtk)$ -windowrulev2 = float,class:^(firefox)$,title:^(Picture-in-Picture)$ -windowrulev2 = float,class:^(firefox)$,title:^(Library)$ -windowrulev2 = float,class:^(nwg-look)$ -windowrulev2 = float,class:^(org.pulseaudio.pavucontrol)$ -windowrulev2 = float,class:^(blueman-manager)$ -windowrulev2 = float,class:^(.blueman-manager-wrapped)$ -windowrulev2 = float,class:^(nm-applet)$ -windowrulev2 = float,class:^(nm-connection-editor)$ -windowrulev2 = float,class:^(org.kde.polkit-kde-authentication-agent-1)$ -windowrulev2 = float,class:^(yad)$ # Protontricks-Gtk +windowrule { + name = float-firefoxDialogue + float = on + match:title = ^(About Mozilla Firefox)$ +} + +windowrule { + name = file-browser + float = on + size = 800 500 + animation = popin + match:class = ^(xdg-desktop-portal-gtk)$ +} + +windowrule { + name = firefox-pip + float = on + match:class = ^(firefox)$ + match:title = ^(Picture-in-Picture)$ +} + +windowrule { + name = float-history + float = on + match:class = ^(firefox)$ + match:title = ^(Library)$ +} + +windowrule { + name = nwg-look + float = on + match:class = ^(nwg-look)$ +} + +windowrule { + name = volume-control + float = on + match:class = ^(org.pulseaudio.pavucontrol)$ +} + +windowrule { + name = windowrule-13 + float = on + size = 600 400 + animation = popin + match:class = ^(.blueman-manager-wrapped)$ +} + +windowrule { + name = windowrule-14 + float = on + match:class = ^(nm-applet)$ +} + +windowrule { + name = windowrule-15 + float = on + match:class = ^(nm-connection-editor)$ +} + +windowrule { + name = windowrule-16 + float = on + match:class = ^(org.kde.polkit-kde-authentication-agent-1)$ +} + +windowrule { + name = windowrule-17 + float = on + match:class = ^(yad)$ # Protontricks-Gtk +} + # Specific Animations and Sizing -windowrulev2 = size 800 500,class:^(xdg-desktop-portal-gtk)$ -windowrulev2 = animation popin,class:^(xdg-desktop-portal-gtk)$ -windowrulev2 = size 600 400,class:^(.blueman-manager-wrapped)$ -windowrulev2 = animation popin,class:^(.blueman-manager-wrapped)$ -windowrulev2 = size 800 500,class:^(firefox)$,title:^(.*Save.*) -windowrulev2 = animation popin,class:^(firefox)$,title:^(.*Save.*) +windowrule { + name = windowrule-18 + size = 800 500 + animation = popin + match:class = ^(firefox)$ + match:title = ^(.*Save.*) +} + # Layer rules -layerrule = blur,notifications -layerrule = ignorezero,notifications -layerrule = blur,swaync-notification-window -layerrule = ignorezero,swaync-notification-window -layerrule = blur,logout_dialog -layerrule = ignorezero,walker -layerrule = blur,walker -layerrule = animation popin 70%, walker -layerrule= animation slide right, swaync-control-center -layerrule= blur, swaync-control-center -layerrule= ignorezero, swaync-control-center +layerrule { + name = layerrule-1 + blur = on + ignore_alpha = 0 + match:namespace = notifications +} -# Workspace Rules -# workspace = s[1], gapsout:70 -# workspace = w[1], gapsout:50 -# workspace = w[2], gapsout:20 +layerrule { + name = layerrule-2 + blur = on + ignore_alpha = 0 + match:namespace = swaync-notification-window +} + +layerrule { + name = layerrule-3 + blur = on + match:namespace = logout_dialog +} + +layerrule { + name = layerrule-4 + ignore_alpha = 0 + blur = on + animation = popin 70% + match:namespace = walker +} + +layerrule { + name = layerrule-5 + animation = slide right + blur = on + ignore_alpha = 0 + match:namespace = swaync-control-center +} diff --git a/.config/hypr/style.conf b/.config/hypr/style.conf index c2f4de1d..8f13afe3 100644 --- a/.config/hypr/style.conf +++ b/.config/hypr/style.conf @@ -21,7 +21,7 @@ misc { xwayland { - force_zero_scaling = false + force_zero_scaling = true } # Layout @@ -90,8 +90,8 @@ env XCURSOR_SIZE = 20 animations { enabled = true - bezier = smooth, .23,.51,.4,.98 - bezier = my, .34,.77,.74,1.47 + bezier = smooth, 0.23,0.51,0.4,0.98 + bezier = my, 0.34,0.77,0.74,1.47 animation = windows, 1, 2, smooth, slide animation = windowsOut, 1, 2, smooth, slide