forked from Shinonome/caelestia-cli
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