From bbd480f5118e900560518aa8a63a8cc6e1d47f53 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Mon, 11 Dec 2023 07:38:39 +0100 Subject: [PATCH] feat: make zoom windows floating --- configuration.nix | 9 +++++++++ home-manager/sway/default.nix | 3 +++ 2 files changed, 12 insertions(+) diff --git a/configuration.nix b/configuration.nix index 957b205..dbeb026 100644 --- a/configuration.nix +++ b/configuration.nix @@ -92,6 +92,15 @@ xdg.portal = { enable = true; wlr.enable = true; + extraPortals = [ + pkgs.xdg-desktop-portal-wlr + pkgs.xdg-desktop-portal-gtk + ]; + config = { + common = { + default = [ "wlr" "gtk" ]; + }; + }; }; services.udev.packages = [ pkgs.yubikey-personalization ]; diff --git a/home-manager/sway/default.nix b/home-manager/sway/default.nix index 739d897..a903807 100644 --- a/home-manager/sway/default.nix +++ b/home-manager/sway/default.nix @@ -78,12 +78,15 @@ in "*" = { hide_cursor = "5000"; }; + }; defaultWorkspace = "1"; focus.newWindow = "urgent"; + floating.criteria = [{ app_id = "zoom"; floating = true; }]; + fonts = { names = [ font.name ]; size = font.size;