2 * vim:ts=4:sw=4:expandtab
4 * i3 - an improved dynamic tiling window manager
5 * © 2009-2012 Michael Stapelberg and contributors (see also: LICENSE)
7 * display_version.c: displays the running i3 version, runs as part of
10 #ifndef I3_DISPLAY_VERSION_H
11 #define I3_DISPLAY_VERSION_H
14 * Connects to i3 to find out the currently running version. Useful since it
15 * might be different from the version compiled into this binary (maybe the
16 * user didn’t correctly install i3 or forgot te restart it).
18 * The output looks like this:
19 * Running i3 version: 4.2-202-gb8e782c (2012-08-12, branch "next") (pid 14804)
21 * The i3 binary you just called: /home/michael/i3/i3
22 * The i3 binary you are running: /home/michael/i3/i3
25 void display_running_version(void);