From a9df1dca8230021749657e94fb42ce4bedf929f4 Mon Sep 17 00:00:00 2001 From: ooks-io Date: Sun, 28 Jul 2024 15:36:14 +1200 Subject: [PATCH] feat(home:hyprland): add window rule for file picker --- .../desktop/wayland/compositor/hyprland/settings/rules.nix | 2 ++ home/modules/desktop/wayland/variables.nix | 2 ++ 2 files changed, 4 insertions(+) diff --git a/home/modules/desktop/wayland/compositor/hyprland/settings/rules.nix b/home/modules/desktop/wayland/compositor/hyprland/settings/rules.nix index 888aed3..c225f59 100644 --- a/home/modules/desktop/wayland/compositor/hyprland/settings/rules.nix +++ b/home/modules/desktop/wayland/compositor/hyprland/settings/rules.nix @@ -14,6 +14,8 @@ in "float, title:^(Picture-in-Picture)$" "pin, title:^(Picture-in-Picture)$" + "float,move 237 175, size 1200 720,title:^(File Upload)$" + "workspace 4, title:^(Vesktop)$" # Floating BTOP diff --git a/home/modules/desktop/wayland/variables.nix b/home/modules/desktop/wayland/variables.nix index b86e6ec..6a31746 100644 --- a/home/modules/desktop/wayland/variables.nix +++ b/home/modules/desktop/wayland/variables.nix @@ -14,6 +14,8 @@ in GDK_BACKEND = "wayland"; QT_QPA_PLATFORM = "wayland"; QT_WAYLAND_DISABLE_WINDOWDECORATION = "1"; + DISABLE_QT5_COMPAT = "0"; + QT_AUTO_SCREEN_SCALE_FACTOR = "1"; MOZ_ENABLE_WAYLAND = "1"; MOZ_DBUS_REMOTE = "1"; XDG_SESSION_TYPE = "wayland";