From 2fe1ef4774e9540fab4132563876064e46371e4a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 19 Aug 2020 16:45:51 +0530 Subject: [PATCH] Mappable function to easily send test notification --- kitty/boss.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kitty/boss.py b/kitty/boss.py index 8bbbf661e..a23ce8765 100644 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -1536,3 +1536,7 @@ class Boss: set_background_image(path, os_windows, configured) for os_window_id in os_windows: self.default_bg_changed_for(os_window_id) + + def send_test_notification(self) -> None: + from .notify import notify + notify('Test notification', 'Hello world')