Update readme and config.def.h

This commit is contained in:
Alexander Rosenberg 2023-05-07 16:50:27 -07:00
parent ab4b736cda
commit ddc175317c
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730
3 changed files with 25 additions and 2 deletions

23
README.md Normal file
View File

@ -0,0 +1,23 @@
# Zander671's dwm
## Overview
This is my personal configuration of dwm that I use on all of my production
machines on a daily basis. It is currently based on dwm 6.4, however, I tend to
update it when new releases come out. The `config.def.h` file contains the
framework I use when I first install this on a new computer.
Check `README.orig` for the stock dwm `README` file.
## Patches
The following patches are included:
1. cfacts
2. alwaysontop
3. colorbar
4. combo
5. fixborders
6. systray
7. A modified version of preserve on restart that only takes effect when the
restart function (default Mod+Shift+R is used)
## Building
Just `make && sudo make install`. Remember to customize `config.h` and
`config.mk`.

View File

View File

@ -55,9 +55,9 @@ static const Layout layouts[] = {
/* key definitions */
#define MODKEY Mod4Mask
#define TAGKEYS(KEY,TAG) \
{ MODKEY, KEY, view, {.ui = 1 << TAG} }, \
{ MODKEY, KEY, comboview, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
{ MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
{ MODKEY|ShiftMask, KEY, combotag, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
/* helper for spawning shell commands in the pre dwm-5.0 fashion */