summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2012-11-02 20:21:51 +0000
committerJon TURNEY <jon.turney@dronecode.org.uk>2012-11-30 14:26:33 +0000
commit906febb04724f31a9e70b68cc609af38210ed420 (patch)
tree91639817ca37335d6c577db1ce17cda663b0325a /src/main.c
parenteeb3150da60aafa3a823fa700fb21f46a044b16e (diff)
First attempt at using alpha with DWM
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 23cb99a..8244113 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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();