sxss

simple x screensaver
git clone git://git.ckyln.com/~cem/sxss
Log | Files | Refs | README | LICENSE

commit 5da4ea52b7fcd0811da9ee2c56287b64cc483312
parent b335bfcccdf0ca3dce07ab745f002be25a08071b
Author: Cem Keylan <cem@ckyln.com>
Date:   Tue, 30 Jun 2020 09:22:56 +0300

sxss: version 0.1.0

Diffstat:
Msxss.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/sxss.c b/sxss.c @@ -8,6 +8,8 @@ #include "config.h" +#define VERSION "0.1.0" + static void spawn(char *const argv[]) { switch (fork()) { case 0: @@ -26,6 +28,9 @@ void die(const char *str) { int main(int argc, char *argv[]) { + + if (argc > 1) die("sxss-"VERSION); + XScreenSaverInfo *info; Display *dpy; int base, errbase;