Patch to add $battery_short variable.
[monky] / src / text_object.h
index 95ae316..60c5a70 100644 (file)
@@ -56,6 +56,7 @@ enum text_object_type {
        OBJ_battery_time,
        OBJ_battery_percent,
        OBJ_battery_bar,
+       OBJ_battery_short,
 #endif /* !__OpenBSD__ */
        OBJ_buffers,
        OBJ_cached,
@@ -160,6 +161,7 @@ enum text_object_type {
        OBJ_if_running,
        OBJ_top,
        OBJ_top_mem,
+       OBJ_top_time,
        OBJ_tail,
        OBJ_head,
        OBJ_lines,
@@ -354,6 +356,7 @@ enum text_object_type {
 
 struct text_object {
        struct text_object *next, *prev;        /* doubly linked list of text objects */
+       struct text_object *sub;                /* for objects parsing text into objects */
        union {
                char *s;                /* some string */
                int i;                  /* some integer */