about summary refs log tree commit diff stats
path: root/README
blob: b4fde501384219f90bccb506287dbf4dfb7b8d68 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
dwm - dynamic window manager
============================
dwm is an extremely fast, small, and dynamic window manager for X.


Requirements
------------
In order to build dwm you need the Xlib header files.


Installation
------------
Edit config.mk to match your local setup (dwm is installed into
the /usr/local namespace by default).

Afterwards enter the following command to build and install dwm (if
necessary as root):

    make clean install


Running dwm
-----------
Add the following line to your .xinitrc to start dwm using startx:

    exec dwm

In order to connect dwm to a specific display, make sure that
the DISPLAY environment variable is set correctly, e.g.:

    DISPLAY=foo.bar:1 exec dwm

(This will start dwm on display :1 of the host foo.bar.)

In order to display status info in the bar, you can do something
like this in your .xinitrc:

    while true
    do
        echo `date` `uptime | sed 's/.*,//'`
        sleep 1
    done | dwm


Configuration
-------------
The configuration of dwm is done by creating a custom config.h
and (re)compiling the source code.
implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. """ This is the default configuration file of ranger. If you do any changes, make sure the import-line stays intact and the type of the value stays the same. """ from ranger.api.options import * # Which colorscheme to use? There are these by default: # colorschemes.texas # colorschemes.jungle # colorschemes.default # colorschemes.snow # Texas uses 88 colors. If they are not supported, it will fall back # to the default scheme. colorscheme = colorschemes.texas max_history_size = 20 scroll_offset = 2 # Flush the input after each key hit? (Noticable when ranger lags) flushinput = True # Preview files on the rightmost column? # And collapse the last column if there is nothing to preview? preview_files = True max_filesize_for_preview = 300 * 1024 # 300kb collapse_preview = True # Save bookmarks (used with mX and `X) instantly? # this helps to synchronize bookmarks between multiple ranger # instances but leads to slight performance loss. # When false, bookmarks are saved when ranger is exited. autosave_bookmarks = True # Specify a title for the window? Some terminals don't support this: update_title = False # Makes sense for screen readers: show_cursor = False # One of: size, basename, mtime, type sort = 'basename' reverse = False directories_first = True # Which files are hidden if show_hidden is False? hidden_filter = regexp( r'lost\+found|^\.|~$|\.(:?pyc|pyo|bak|swp)$') show_hidden = False