From e0b4b61e8a1f52e13279a94eaf34302fa14e5491 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Sun, 1 Jan 2023 19:18:27 -0500 Subject: [PATCH] Fix some communications software --- home-manager/linux/programs/communications.nix | 2 ++ home-manager/linux/programs/sway.nix | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/home-manager/linux/programs/communications.nix b/home-manager/linux/programs/communications.nix index 07a606f..d4243f9 100644 --- a/home-manager/linux/programs/communications.nix +++ b/home-manager/linux/programs/communications.nix @@ -12,6 +12,8 @@ drv.overrideAttrs (old: { nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ pkgs.makeWrapper ]; + runtimeDependencies = (old.runtimeDependencies or [ ]) + ++ [ pkgs.wayland ]; postFixup = (old.postFixup or "") + '' wrapProgram $out/bin/${bin} \ --add-flags "--enable-features=UseOzonePlatform" \ diff --git a/home-manager/linux/programs/sway.nix b/home-manager/linux/programs/sway.nix index 20c7671..9668f03 100644 --- a/home-manager/linux/programs/sway.nix +++ b/home-manager/linux/programs/sway.nix @@ -81,7 +81,7 @@ in with lib; { # Work around for chrome ui bug { command = "shortcuts_inhibitor disable"; - criteria = { app_id = "^chrome-.*_-.*$"; }; + criteria = { app_id = "chrome-.*"; }; } ]; };