diff --git a/dot_config/hypr/bindings.conf b/dot_config/hypr/bindings.conf index 3f7c99a..fd2f249 100644 --- a/dot_config/hypr/bindings.conf +++ b/dot_config/hypr/bindings.conf @@ -64,3 +64,6 @@ bindd = SUPER, KP_Home, Switch to workspace 7, workspace, 7 bindd = SUPER, KP_Up, Switch to workspace 8, workspace, 8 bindd = SUPER, KP_Prior, Switch to workspace 9, workspace, 9 +# I miss notifications a lot +bindd = SUPER ALT, N, Toggle latest notification, exec, ~/.local/bin/toggle-last-notification + diff --git a/dot_local/bin/executable_toggle-last-notification b/dot_local/bin/executable_toggle-last-notification new file mode 100644 index 0000000..abfcd8c --- /dev/null +++ b/dot_local/bin/executable_toggle-last-notification @@ -0,0 +1,8 @@ +#!/bin/bash + +if [[ $(makoctl list) == '' ]]; then + makoctl restore +else + makoctl dismiss +fi +