From 976ff9bbd3a9eef8d8051d617ef7099f3e0c6390 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Mon, 4 May 2020 13:15:03 -0400 Subject: [PATCH] keybinds for enable/disable notifications --- home/modules/i3.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/modules/i3.nix b/home/modules/i3.nix index eaba0086e..2176d7281 100644 --- a/home/modules/i3.nix +++ b/home/modules/i3.nix @@ -124,6 +124,10 @@ in { "${mod}+Ctrl+t" = "exec ${pkgs.writeShellScript "fix_term.sh" '' xrandr --output eDP-1 --off && ${screenlayout.home} ''}"; + + # Notifications + "${mod}+Shift+n" = "exec killall -SIGUSR1 .dunst-wrapped"; + "${mod}+n" = "exec killall -SIGUSR2 .dunst-wrapped"; }; fonts = [ decorationFont ];