From ccfe617b8d9804b029701aa23ffac635449383ad Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 28 Oct 2024 10:28:17 +0000 Subject: [PATCH] Add floating window rule for electron file picker --- system/home/desktop/hyprland.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/system/home/desktop/hyprland.nix b/system/home/desktop/hyprland.nix index 8710b4b2..0961bedd 100644 --- a/system/home/desktop/hyprland.nix +++ b/system/home/desktop/hyprland.nix @@ -297,6 +297,11 @@ "float, class:org.gnome.NautilusPreviewer" "center, class:org.gnome.NautilusPreviewer" + # Electron file picker dialog + "float, title:Open Files,class:electron" + "size 800 600, title:Open Files,class:electron" + "center, title:Open Files,class:electron" + # LibreOffice # "nofullscreenrequest, class:(libreoffice|soffice)(.*)" # "nomaximizerequest, class:(libreoffice|soffice)(.*)"