Поэтому я найдите Gotify как инструмент уведомлений для моего телефона. Я хочу, чтобы dnf-automatic выполнил команду gotify-cli, которая выглядит примерно так, поскольку «тело» — это тело сообщения:
Код: Выделить всё
gotify push "body"
Код: Выделить всё
[emitters]
emit_via = command
[command]
# The shell command to execute. This is a Python format string, as used in
# str.format(). The format function will pass a shell-quoted argument called
# `body`.
command_format = "gotify push"
# The contents of stdin to pass to the command. It is a format string with the
# same arguments as `command_format`.
stdin_format = "{body}"
Подробнее здесь: https://stackoverflow.com/questions/725 ... tification
Мобильная версия