Source code for hal.streams.notify.desktop
# -*- coding: utf-8 -*-
"""Sends desktop notify with notify-send tool """
import subprocess
[docs]def send_notification(app_name, message):
"""Shows notify to screen
:param app_name: Name of app to show
:param message: Details of app to show
"""
subprocess.call([
"notify-send",
str(app_name),
str(message)
])