mirror of
https://github.com/caelestia-dots/cli.git
synced 2026-06-06 07:19:29 -05:00
2c94c42cbd
For sending a notification on error
6 lines
158 B
Python
6 lines
158 B
Python
import subprocess
|
|
|
|
|
|
def notify(*args: list[str]) -> str:
|
|
return subprocess.check_output(["notify-send", "-a", "caelestia-cli", *args], text=True).strip()
|