aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-07-06 06:41:53 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-07-06 06:41:53 +0000
commit69f6d5c91de55942f53f0d1a2266e11b57ffe9e7 (patch)
tree4d19e1bb700100c88a0e33b2953829e6ff585f14 /README
parentea9797f1105ed972147e3dc81f0b49090d0d88b6 (diff)
downloaddzen-69f6d5c91de55942f53f0d1a2266e11b57ffe9e7.tar.gz
dzen-69f6d5c91de55942f53f0d1a2266e11b57ffe9e7.zip
updated README
git-svn-id: http://dzen.googlecode.com/svn/trunk@119 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'README')
-rw-r--r--README71
1 files changed, 70 insertions, 1 deletions
diff --git a/README b/README
index 2bab9c8..d0327b9 100644
--- a/README
+++ b/README
@@ -85,6 +85,73 @@ dzen accepts a couple of options:
For dynamic color support see (5).
+
+Window layout
+------------
+
+Dzen's window layout is as follows:
+
+ ------------------------------------------
+ | Title window, single line |
+ `------------------------------------------´
+ | |
+ | scrollable |
+ | Slave window |
+ | multiple lines |
+ | lines to display simultaneously |
+ | controlled with the |
+ | '-l' option |
+ | |
+ | |
+ `------------------------------------------´
+
+The first line you provide to dzen always goes to the title window,
+all other consecutive lines will be drawn to the slave window.
+
+
+QA:
+---
+
+Q1: I don't want a slave window, what to do?
+
+A1: Do not provide the '-l' option, all lines will be displayed
+ in the title window, this is the default behaviour.
+
+
+Q2: I used the '-l' option but no slave window appears.
+
+A2: With the default event/action handling the slave window will
+ only be displayed if you hoover with the mouse over the title
+ window. See "(2) Events and actions" if you'd like to change
+ this.
+
+
+Q3: If I echo some text or cat a file dzen closes itself imediatelly.
+
+A3: There are 2 different approaches dzen uses to terminate itself,
+ see next section "Termination".
+
+
+Q4: Ok, the title and slave thing works, can I update the
+ contents of both windows at the same time?
+
+A4: Sure, see "(4) Simultaneous updates".
+
+
+Q5: Can i chnage color of my input at runtime?
+
+A5: Yes, you can change both background and foreground colors.
+ See "(5) Dynamic color support"
+
+
+Q6: Can I use dzen as a menu?
+
+A7: Yes, both vertical and horizontal menus are supported.
+ See "(3) Menu" for further details.
+
+
+
+
Termination:
------------
dzen uses two different approaches to terminate itself:
@@ -104,7 +171,7 @@ Return values:
--------------
0 - dzen received EOF
1 - some error occured, inspect the error message
-user defined - set with 'exit:retval' action, see (2))
+user defined - set with 'exit:retval' action, see (2)
@@ -194,11 +261,13 @@ Supported actions:
menuprint write selected menu entry to STDOUT
collapse collapse (roll-up) slave window
uncollapse uncollapse (roll-down) slave window
+ togglecollapse toggle collapsed state
stick stick slave window
unstick unstick slave window
togglestick toggle sticky state
hide hide title window
unhide unhide title window
+ togglehide toggle hide state
raise raise window to view (above all others)
lower lower window (behind all others)
scrollhome show head of input