commit a3460748bee3a9a00c08c00d9137287d3afe03de
parent ca06d32f9329825aa330a2b1eb5c9fa5e48407e3
Author: Sweets <Sweets@users.noreply.github.com>
Date: Sun, 26 Apr 2020 14:10:49 -0700
Update: Makefile and README
Diffstat:
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -1,6 +1,6 @@
TARGET = tiramisu
-SRC := tiramisu.c callbacks.c
+SRC := tiramisu.c callbacks.c format.c
CFLAGS = -Wall
LDFLAGS = $(shell pkg-config --libs --cflags glib-2.0 gio-2.0)
diff --git a/README.md b/README.md
@@ -20,6 +20,23 @@ Anywhere a string may be found in a notification a new-line may be placed,
but the most likely scenario is that a new-line is only found in the notification body,
and because this is the most likely scenario, the body is output last in the notification.
+The structure for notifications being output by tiramisu is as follows.
+
+```
+$ tiramisu
+Application name
+Application icon path (if enabled in configuration)
+Notification actions (if enabled in configuration; not currently available)
+Notification hints (if enabled in configuration; not currently available)
+Replacement ID (if enabled in configuration)
+Notification timeout
+Summary
+Body
+```
+
+If any specific setting is disabled in the configuration, the line is omitted
+from the output (making all of the output one line shorter).
+
# Configuration
By default tiramisu opts out of outputting notification actions, replacement IDs,