about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2020-05-04T17·15-0400
committerGriffin Smith <root@gws.fyi>2020-05-04T17·15-0400
commit976ff9bbd3a9eef8d8051d617ef7099f3e0c6390 (patch)
tree8e19625160176222f94220aea1b5d4f00dedaa53
parente2136a9e589d72086536f296b3baae410fa61209 (diff)
keybinds for enable/disable notifications
-rw-r--r--home/modules/i3.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/home/modules/i3.nix b/home/modules/i3.nix
index eaba0086e401..2176d72811fe 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 ];