summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config.h2
-rw-r--r--src/main.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h
index 39ab51d..ddfa818 100644
--- a/src/config.h
+++ b/src/config.h
@@ -4,4 +4,6 @@
/* package name */
#define PACKAGE "pianobar"
+#define VERSION "2010.08.21"
+
#endif /* _CONFIG_H */
diff --git a/src/main.c b/src/main.c
index 4c15698..19cdad2 100644
--- a/src/main.c
+++ b/src/main.c
@@ -84,7 +84,8 @@ int main (int argc, char **argv) {
BarSettingsInit (&app.settings);
BarSettingsRead (&app.settings);
- BarUiMsg (MSG_NONE, "Welcome to " PACKAGE "! Press %c for a list of commands.\n",
+ BarUiMsg (MSG_NONE, "Welcome to " PACKAGE " (" VERSION ")! "
+ "Press %c for a list of commands.\n",
app.settings.keys[BAR_KS_HELP]);
/* init fds */