dwm

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit e386784fc9f1e2bb6eb663e418c2bbdafaecbe24
parent 6407045ae5942a3c1975b068e3fbe3bcb1aa0750
Author: mpizzzle <michael.770211@gmail.com>
Date:   Wed, 20 May 2020 18:50:15 +0100

minor cleanup

Diffstat:
MREADME | 2+-
Mconfig.def.h | 5++---
Mdwm.1 | 2+-
Mdwm.c | 4++--
4 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/README b/README @@ -44,5 +44,5 @@ like this in your .xinitrc: Configuration ------------- -The configuration of dwm is done by creating a custom config.h +The configuration of dwm is done by creating a custom config.def.h and (re)compiling the source code. diff --git a/config.def.h b/config.def.h @@ -102,7 +102,7 @@ static Key keys[] = { { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, { MODKEY, XK_r, setlayout, {.v = &layouts[3]} }, { MODKEY|ShiftMask, XK_r, setlayout, {.v = &layouts[4]} }, - { MODKEY, XK_y, spawn, SHCMD(". ~/.local/bin/wallpapers.sh ~/wallpapers &") }, + { MODKEY, XK_y, spawn, SHCMD("wallpapers.sh ~/wallpapers &") }, { MODKEY, XK_space, setlayout, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, { MODKEY, XK_0, view, {.ui = ~0 } }, @@ -111,7 +111,7 @@ static Key keys[] = { { MODKEY, XK_period, focusmon, {.i = +1 } }, { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } }, { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } }, - { MODKEY|ShiftMask, XK_l, spawn, SHCMD(". ~/.local/bin/lock.sh &") }, + { MODKEY|ShiftMask, XK_l, spawn, SHCMD("lock.sh &") }, { MODKEY, XK_Print, spawn, SHCMD("scrot") }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) @@ -141,4 +141,3 @@ static Button buttons[] = { { ClkTagBar, MODKEY, Button1, tag, {0} }, { ClkTagBar, MODKEY, Button3, toggletag, {0} }, }; - diff --git a/dwm.1 b/dwm.1 @@ -153,7 +153,7 @@ Toggles focused window between floating and tiled state. .B Mod1\-Button3 Resize focused window while dragging. Tiled windows will be toggled to the floating state. .SH CUSTOMIZATION -dwm is customized by creating a custom config.h and (re)compiling the source +dwm is customized by creating a custom config.def.h and (re)compiling the source code. This keeps it fast, secure and simple. .SH SEE ALSO .BR dmenu (1), diff --git a/dwm.c b/dwm.c @@ -14,9 +14,9 @@ * set the override_redirect flag. Clients are organized in a linked client * list on each monitor, the focus history is remembered through a stack list * on each monitor. Each client contains a bit array to indicate the tags of a - * client. + * client.# * - * Keys and tagging rules are organized as arrays and defined in config.h. + * Keys and tagging rules are organized as arrays and defined in config.def.h. * * To understand everything else, start reading main(). */