From fa70f8cce9491915a07a0bb5fd3942cd8ef4ec2c Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Sat, 15 Apr 2023 01:46:00 +0200 Subject: [PATCH] Add keybindings for Mako Need to be improved --- group_vars/all/mako.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/group_vars/all/mako.yml b/group_vars/all/mako.yml index 249a2c1..c646950 100644 --- a/group_vars/all/mako.yml +++ b/group_vars/all/mako.yml @@ -48,3 +48,19 @@ mako_rules: border-color: '#00000000' default-timeout: 10000 padding: 7 + +mako_keybindings: + - mode: 'normal' + bindings: + - bindsym: '$mod+n' + action: 'exec makoctl dismiss' + - bindsym: '$mod+shift+n' + action: 'exec makoctl dismiss -a' + - bindsym: '$mod+alt+n' + action: mode notification + - mode: 'notification' + bindings: + - bindsym: 'r' + action: 'exec makoctl restore' + - bindsym: Escape + action: 'mode "default"'