From af7fab5f5d1450732e6cefd94dca7d66f7d51971 Mon Sep 17 00:00:00 2001 From: Joseph Montanaro Date: Fri, 17 Oct 2025 18:55:37 -0400 Subject: [PATCH] add script to toggle last notification --- dot_config/hypr/bindings.conf | 3 +++ dot_local/bin/executable_toggle-last-notification | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 dot_local/bin/executable_toggle-last-notification 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 +