From 2f80e9965e75046ca988d10c7c38e37f55b8bf26 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 9 Aug 2024 22:07:38 -0400 Subject: [PATCH] desktop: add rules for thunar progress dialog --- homeManagerModules/desktop/hyprland/settings.nix | 5 ++++- homeManagerModules/desktop/sway/settings.nix | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/homeManagerModules/desktop/hyprland/settings.nix b/homeManagerModules/desktop/hyprland/settings.nix index 0a763d95..451bca00 100644 --- a/homeManagerModules/desktop/hyprland/settings.nix +++ b/homeManagerModules/desktop/hyprland/settings.nix @@ -185,16 +185,19 @@ in { "center(1),class:(nm-connection-editor)" "center(1),class:(pavucontrol)" "center(1),class:(polkit-mate-authentication-agent-1)" - "float, class:^(firefox)$, title:^(Picture-in-Picture)$" + "center(1),initialTitle:(File Operation Progress)" "float,class:(.blueman-manager-wrapped)" "float,class:(blueberry.py)" "float,class:(com.github.wwmm.easyeffects)" "float,class:(nm-connection-editor)" "float,class:(pavucontrol)" + "float,class:^(firefox)$, title:^(Picture-in-Picture)$" + "float,initialTitle:(File Operation Progress)" "move 70% 20%, class:^(firefox)$, title:^(Picture-in-Picture)$" "pin,class:(gcr-prompter)" "pin,class:(polkit-mate-authentication-agent-1)" "pin,class:^(firefox)$, title:^(Picture-in-Picture)$" + "size 40% 20%,initialTitle:(File Operation Progress)" "size 40% 60%,class:(.blueman-manager-wrapped)" "size 40% 60%,class:(blueberry.py)" "size 40% 60%,class:(com.github.wwmm.easyeffects)" diff --git a/homeManagerModules/desktop/sway/settings.nix b/homeManagerModules/desktop/sway/settings.nix index fd6a223b..b793d26e 100644 --- a/homeManagerModules/desktop/sway/settings.nix +++ b/homeManagerModules/desktop/sway/settings.nix @@ -200,6 +200,10 @@ in { command = "focus; sticky toggle"; criteria = {app_id = "polkit-mate-authentication-agent-1";}; } + { + command = "floating enable; resize set 40ppt 20ppt; move position center"; + criteria = {title = "File Operation Progress";}; + } { command = "resize set 40ppt 60ppt; move position center"; criteria = {title = "Open Folder";};