fixed README of dmenu
f1495a11
1 file(s) · +10 −27
| 1 | - | dwm - dynamic window manager |
|
| 2 | - | ---------------------------- |
|
| 3 | - | dwm is an extremely fast, small, and dynamic X11 window manager. |
|
| 1 | + | dmenu - dynamic menu |
|
| 2 | + | -------------------- |
|
| 3 | + | dwm is a generic, highly customizable, and efficient menu for the X Window |
|
| 4 | + | System. |
|
| 4 | 5 | ||
| 5 | 6 | ||
| 6 | 7 | Requirements |
|
| 7 | 8 | ------------ |
|
| 8 | - | In order to build dwm you need the Xlib header files. |
|
| 9 | + | In order to build dmenu you need the Xlib header files. |
|
| 9 | 10 | ||
| 10 | 11 | ||
| 11 | 12 | Installation |
|
| 13 | 14 | Edit config.mk to match your local setup (dwm is installed into |
|
| 14 | 15 | the /usr/local namespace by default). |
|
| 15 | 16 | ||
| 16 | - | Afterwards enter the following command to build and install dwm (if |
|
| 17 | + | Afterwards enter the following command to build and install dmenu (if |
|
| 17 | 18 | necessary as root): |
|
| 18 | 19 | ||
| 19 | 20 | make clean install |
|
| 20 | 21 | ||
| 21 | 22 | ||
| 22 | - | Running dwm |
|
| 23 | - | ----------- |
|
| 24 | - | Add the following line to your .xinitrc to start dwm using startx: |
|
| 25 | - | ||
| 26 | - | exec dwm |
|
| 27 | - | ||
| 28 | - | In order to connect dwm to a specific display, make sure that |
|
| 29 | - | the DISPLAY environment variable is set correctly, e.g.: |
|
| 30 | - | ||
| 31 | - | DISPLAY=foo.bar:1 exec dwm |
|
| 32 | - | ||
| 33 | - | (This will start dwm on display :1 of the host foo.bar.) |
|
| 34 | - | ||
| 35 | - | In order to display status info in the bar, you can do something |
|
| 36 | - | like this in your .xinitrc: |
|
| 37 | - | ||
| 38 | - | while true |
|
| 39 | - | do |
|
| 40 | - | echo `date` `uptime | sed 's/.*://; s/,//g'` |
|
| 41 | - | sleep 1 |
|
| 42 | - | done | dwm |
|
| 23 | + | Running dmenu |
|
| 24 | + | ------------- |
|
| 25 | + | See the man page for details. |
|
| 43 | 26 | ||
| 44 | 27 | ||
| 45 | 28 | Configuration |
|
| 46 | 29 | ------------- |
|
| 47 | - | The configuration of dwm is done by creating a custom config.h |
|
| 30 | + | The configuration of dmenu is done by creating a custom config.h |
|
| 48 | 31 | and (re)compiling the source code. |
|