From b69cdc45009db59dce40709bdd1f6f685a78796a Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Thu, 5 Sep 2024 18:35:21 -0700 Subject: [PATCH] windowrules: add qol for pavucontrol and pinentry --- users/youwen/linux/hyprland/common.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/users/youwen/linux/hyprland/common.nix b/users/youwen/linux/hyprland/common.nix index 6ff31fd..52f6f6a 100644 --- a/users/youwen/linux/hyprland/common.nix +++ b/users/youwen/linux/hyprland/common.nix @@ -211,13 +211,16 @@ "float,class:^(io.github.alainm23.planify)$ # planify-Gtk" "float,class:^(io.gitlab.theevilskeleton.Upscaler)$ # Upscaler-Gtk" "float,class:^(com.github.unrud.VideoDownloader)$ # VideoDownloader-Gkk" - "float,class:^(pavucontrol)$" "float,class:^(blueman-manager)$" "float,class:^(nm-applet)$" "float,class:^(nm-connection-editor)$" "float,class:^(org.kde.polkit-kde-authentication-agent-1)$" "opacity 0.80 0.80,class:^(org.freedesktop.impl.portal.desktop.gtk)$" "opacity 0.80 0.80,class:^(org.freedesktop.impl.portal.desktop.hyprland)$" + + "size 50% 50%,class:^(org.pulseaudio.pavucontrol)" + + "stayfocused, class:^(pinentry-)" # fix pinentry losing focus ]; layerrule = [ "blur,rofi"