summaryrefslogtreecommitdiff
path: root/modules/responses/libnotify.py
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2024-11-27 23:59:07 +0100
committerBotond Hende <nettingman@gmail.com>2024-11-27 23:59:07 +0100
commitcb40a2ff74a8165cb59357c423f83219a01631bc (patch)
treeb672312dd0ab0e4a6de9d96224e78e6523133b13 /modules/responses/libnotify.py
parent61549211126ff8abc347e9a100b120773dfc2d62 (diff)
basic responses
Diffstat (limited to 'modules/responses/libnotify.py')
-rw-r--r--modules/responses/libnotify.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/responses/libnotify.py b/modules/responses/libnotify.py
new file mode 100644
index 0000000..2e83101
--- /dev/null
+++ b/modules/responses/libnotify.py
@@ -0,0 +1,4 @@
+import os
+
+def respond(text: str) -> None:
+ os.popen(f'notify-send Hestia "{text}" --app-name=hestia') \ No newline at end of file