From 780db1a33572d2389eb96107861b8abd8155b06b Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Sat, 3 Sep 2022 20:34:07 +0200 Subject: [PATCH] Update dot_config/i3/config --- dot_config/i3/config | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/dot_config/i3/config b/dot_config/i3/config index f799c52..3eb1727 100644 --- a/dot_config/i3/config +++ b/dot_config/i3/config @@ -204,10 +204,10 @@ mode "resize" { # Pressing right will grow the window’s width. # Pressing up will shrink the window’s height. # Pressing down will grow the window’s height. - bindsym j resize shrink width 10 px or 10 ppt - bindsym k resize grow height 10 px or 10 ppt - bindsym l resize shrink height 10 px or 10 ppt - bindsym m resize grow width 10 px or 10 ppt + bindsym h resize shrink width 10 px or 10 ppt + bindsym j resize grow height 10 px or 10 ppt + bindsym k resize shrink height 10 px or 10 ppt + bindsym l resize grow width 10 px or 10 ppt # same bindings, but for the arrow keys bindsym Left resize shrink width 10 px or 10 ppt @@ -223,6 +223,19 @@ mode "resize" { bindsym $mod+r mode "resize" +mode "notification" { + # Notifications + bindsym q exec dunstctl close + bindsym c exec dunstctl close_all + bindsym h exec dunstctl history + bindsym a exec dunstctl context + + bindsym Return mode "default" + bindsym Escape mode "default" + bindsym $mod+Shift+n mode "default" +} +bindsym $mod+Shift+n mode "notification" + # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) #bar {