about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-05-15 01:41:34 +0100
committerJames Booth <boothj5@gmail.com>2016-05-15 01:41:34 +0100
commitc6a6e3a51cb2fa1b036fa17cf89b8d9dab95c293 (patch)
tree60183c7b199b73521269d3f58fac8d6cd434c423 /src/ui
parentd00615beba0e9f6d463b821c3a9406e412ebbfe2 (diff)
downloadprofani-tty-c6a6e3a51cb2fa1b036fa17cf89b8d9dab95c293.tar.gz
Add /tray timer <seconds>
closes #787
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/console.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c
index fc0da30f..3f44f133 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -1193,6 +1193,9 @@ cons_tray_setting(void)
         cons_show("Tray icon read (/tray)              : ON");
     else
         cons_show("Tray icon read (/tray)              : OFF");
+
+    int seconds = prefs_get_tray_timer();
+    cons_show("Tray timer (/tray)                  : %d seconds", seconds);
 }
 
 void