mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-29 13:00:32 +01:00
5b8a1ec561
All options now default to 'no'. Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
71 lines
2.2 KiB
Text
71 lines
2.2 KiB
Text
README.CONFIG for dwm
|
|
|
|
In tiled layout, windows are managed in a master and stacking area.
|
|
The master area contains the windows which currently need most
|
|
attention, whereas the stacking area contains all other windows. In
|
|
floating layout, windows can be resized and moved freely. Dialog
|
|
windows are always managed floating, regardless of the layout
|
|
selected.
|
|
|
|
Windows are grouped by tags. Each window can be tagged with one or
|
|
multiple tags. Selecting certain tags displays all windows with those
|
|
tags.
|
|
|
|
dwm contains a small status bar which displays all available tags, the
|
|
layout, the title of the focused window, and the text read from the
|
|
name of the root window. The selected tags are highlighted with a
|
|
different color, while the tags of the focused window are highlighted
|
|
with a small point.
|
|
|
|
dwm draws a small border around windows to indicate their focus state.
|
|
|
|
|
|
MULTI-MONITOR SETUP
|
|
-------------------
|
|
|
|
In multi-monitor situations, you will probably need to run some
|
|
xrandr settings. For example, considering a laptop with an external
|
|
monitor to the right of it, the following command would 'extend' the
|
|
display (rather than the default mirroring), and set the correct
|
|
resolution for both displays:
|
|
|
|
$ xrandr --auto --output LVDS --primary --mode 1366x768 \
|
|
--left-of VGA-0 --output VGA-0 --mode 1280x1024
|
|
|
|
To determine your optimal resolutions and display names, simply run:
|
|
|
|
$ xrandr -q
|
|
|
|
To make this change permanent simply place the xrandr command before
|
|
'exec dwm' in your '.xinitrc'.
|
|
|
|
|
|
CUSTOMIZATION
|
|
-------------
|
|
If you wish to make changes to the default keybindings or other
|
|
settings, produce a patch against config.h.
|
|
config.h is a copy of config.def.h distributed with the source
|
|
tarball.
|
|
|
|
Place any patches in the patches/ directory before starting the
|
|
SlackBuild script. A sample patch is included that will change
|
|
the default terminal from 'st' to 'uxterm'.
|
|
This video shows one method of patch creation:
|
|
|
|
https://asciinema.org/a/30752
|
|
|
|
Here is an older video on patch creation:
|
|
|
|
https://asciinema.org/a/7886
|
|
|
|
Example:
|
|
|
|
$ cd dwm-$VERSION
|
|
$ cp config.def.h config.h
|
|
$ vi config.h
|
|
[make customizations]
|
|
$ diff -u config.h config.def.h > ../patches/awesome_changes.patch
|
|
$ cd ..
|
|
$ sh dwm.SlackBuild
|
|
|
|
|