diff options
-rw-r--r-- | README | 30 | ||||
-rw-r--r-- | config.mk | 2 | ||||
-rw-r--r-- | main.c | 5 |
3 files changed, 11 insertions, 26 deletions
@@ -48,15 +48,14 @@ dzen accepts a couple of options: -fn font -ta alignement of title window content l(eft), c(center), r(right) - -a autohide, see 1) - -l lines, see 2) - -e events and actions, see 3) - -m menu, see 4) + -tw title window width + -l lines, see (1) + -e events and actions, see (2) + -m menu, see (3) -p persistent, never time out -x x position -y y position -w width - -tw title window width -v version information Termination: @@ -67,29 +66,18 @@ dzen2 uses two different approaches to terminate itself: - unless the '-p' flag is set * If mouse button3 is clicked -> terminate - - this is the default behaviour, see 3) + - this is the default behaviour, see (2)) Return values: -------------- 0 - dzen received EOF 1 - some error occured, inspect the error message -user defined - set with 'exit:retval' action, see 3) - - - -1) Option "-a": Autohide ------------------------- - -Hides the title window as soon as the pointer leaves it (default). This -very much resembles autohiding panels known from most desktops. +user defined - set with 'exit:retval' action, see (2)) -Note: This option is obsolete and will be removed in future versions as - the same behaviour can be achieved with the 'onstart=hide' combination, - see 3) for further details. -2) Option "-l": Slave window +(1) Option "-l": Slave window -------------------------------- Enables support for displaying multiple lines. The parameter to "-l" @@ -105,7 +93,7 @@ Button4 and Button5 (mouse wheel) will scroll the slave window up and down if the content exceeds the window height (default action). -3) Option '-e': Events and actions +(2) Option '-e': Events and actions ---------------------------------- dzen allows the user to associate actions to events. @@ -180,7 +168,7 @@ Note: If no events/actions are specified dzen defaults to: use. -4) Option '-m', Menu +(3) Option '-m', Menu -------------------- If menu mode is activated the line under the pointer will be @@ -1,5 +1,5 @@ # dzen version -VERSION = 0.2.2 +VERSION = 0.2.3 # Customize below to fit your system @@ -399,9 +399,6 @@ main(int argc, char *argv[]) { else if(!strncmp(argv[i], "-p", 3)) { dzen.slave_win.ispersistent = True; } - else if(!strncmp(argv[i], "-a", 3)) { - dzen.title_win.autohide = True; - } else if(!strncmp(argv[i], "-ta", 4)) { if(++i < argc) dzen.title_win.alignement = argv[i][0]; } @@ -435,7 +432,7 @@ main(int argc, char *argv[]) { else if(!strncmp(argv[i], "-v", 3)) eprint("dzen-"VERSION", (C)opyright 2007 Robert Manea\n"); else - eprint("usage: dzen [-v] [-p] [-a] [-m] [-ta <l|c|r>] [-e <string>] \n" + eprint("usage: dzen [-v] [-p] [-m] [-ta <l|c|r>] [-e <string>] \n" " [-x <pixel>] [-y <pixel>] [-w <pixel>] [-tw <pixel>]\n" " [-l <lines>] [-fn <font>] [-bg <color>] [-fg <color>]\n"); |