From 34db804fcb4e6d66b1671fc5f7fedbf4ee570c98 Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Wed, 10 Jul 2024 20:16:16 -0700 Subject: [PATCH] Added swaync keybindings --- modules/nixos/desktop/sway/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/nixos/desktop/sway/default.nix b/modules/nixos/desktop/sway/default.nix index d86c07b..2f9ecd6 100644 --- a/modules/nixos/desktop/sway/default.nix +++ b/modules/nixos/desktop/sway/default.nix @@ -273,6 +273,14 @@ in { ## Move focus to the parent container "${modifier}+a" = "focus parent"; + # Notifications + + ## Toggle notification center + "${modifier}+Shift+n" = "exec '${pkgs.swaynotificationcenter}/bin/swaync-client -t -sw'"; + + ## Toggle Do Not Disturb + "${modifier}+Shift+d" = "exec '${pkgs.swaynotificationcenter}/bin/swaync-client -d -sw'"; + # Screenshots ## Current window