Fix README

This commit is contained in:
2024-12-04 02:17:50 +00:00
parent 438dec38a3
commit 75d61fe3c4

22
README
View File

@@ -11,8 +11,8 @@ dwm is an extremely fast, small, and dynamic window manager for X.
Requirements Requirements
============ ============
In order to build dwm you need the Xlib header files. Optionally you In order to build dwm you need the Xlib header files. Optionally
will also need xinerama. you will also need xinerama.
Installation Installation
============ ============
@@ -33,25 +33,25 @@ Running dwm
`---- `----
In order to connect dwm to a specific display, make sure that the In order to connect dwm to a specific display, make sure that the
DISPLAY environment variable is set correctly. For example, to start DISPLAY environment variable is set correctly. For example, to
dwm on the host foo.bar on display 1: start dwm on the host foo.bar on display 1:
,---- ,----
| DISPLAY=foo.bar:1 exec dwm | DISPLAY=foo.bar:1 exec dwm
`---- `----
When editing and compiling this project, it may be cumbersome to When hacking on the source code, it may be cumbersome to restart
restart dwm. By adding the following to your .xinitrc, one may dwm. By adding the following to your .xinitrc, one may restart dwm
restart dwm simply by killing the process, which will be immediately simply by killing the process, which will be immediately spawned
spawned again by the XServer. again by the XServer.
,---- ,----
| while : | while :
| do | do
| dwm | dwm
| done | done
`---- `----
Any applications will still exist after dwm is restarted, but may not Any applications will still exist after dwm is restarted, but may
laid out before the restart. Refer to the `rules` variable in not laid out the same as before the restart. Refer to the `rules`
config.h for automatic layout control. variable in config.h for automatic layout control.
Configuration Configuration
============= =============