From b07ffb68254b6cb28c4e873e1f977d6089d59cbc Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Sun, 20 Oct 2024 09:01:54 +0700 Subject: [PATCH] swaync: disabled notification sounds from some apps --- home/modules/hyprland/sway-notification-center.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/modules/hyprland/sway-notification-center.nix b/home/modules/hyprland/sway-notification-center.nix index 7717403..03ee9aa 100644 --- a/home/modules/hyprland/sway-notification-center.nix +++ b/home/modules/hyprland/sway-notification-center.nix @@ -21,7 +21,7 @@ in scripts = { play-notification-sound = { exec = ''${pkgs.sox}/bin/play --volume 0.5 ${./gran_turismo_menu_sound_effect.mp3}''; - app-name = ".*"; + app-name = "^(?!discord|TelegramDesktop|Slack|Signal|Element).*$"; urgency = "Normal"; }; };