diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-11-02 20:21:51 +0000 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-11-30 14:26:33 +0000 |
commit | 906febb04724f31a9e70b68cc609af38210ed420 (patch) | |
tree | 91639817ca37335d6c577db1ce17cda663b0325a /src/main.c | |
parent | eeb3150da60aafa3a823fa700fb21f46a044b16e (diff) |
First attempt at using alpha with DWM
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -79,6 +79,7 @@ static void help(void) { fprintf(stderr, "usage: xtow [options]\n"); + fprintf(stderr, "-blur use glass effect to blur the image beneath transparent areas\n"); fprintf(stderr, "-display dpy display to manage windows on\n"); fprintf(stderr, "-help\n"); exit(0); @@ -94,6 +95,7 @@ int main(int argc, char **argv) { { "display", required_argument, 0, 'd' }, { "help", no_argument, 0, 'h' }, + { "blur", no_argument, 0, 'b' }, {0, 0, 0, 0 }, }; @@ -108,6 +110,9 @@ int main(int argc, char **argv) case 'd': screen = optarg; break; + case 'b': + blur = 1; + break; case 'h': default: help(); |