mirror of
https://github.com/caelestia-dots/cli.git
synced 2026-06-08 16:29:28 -05:00
scheme: add notify opt
For sending a notification on error
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import subprocess
|
||||
|
||||
|
||||
def notify(*args: list[str]) -> str:
|
||||
return subprocess.check_output(["notify-send", "-a", "caelestia-cli", *args], text=True).strip()
|
||||
Reference in New Issue
Block a user