From fd8d79d977b3895a687a2617218d37851671b9f4 Mon Sep 17 00:00:00 2001 From: golfyado Date: Fri, 17 Jun 2022 14:37:52 -0400 Subject: epale, sigo vivo --- README.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ config.def.h | 4 +++- config.h | 2 ++ 3 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..95d4fd0 --- /dev/null +++ b/README.md @@ -0,0 +1,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 xsetroot -name "`date` `uptime | sed 's/.*,//'`" + do + sleep 1 + done & + exec dwm + + +Configuration +------------- +The configuration of dwm is done by creating a custom config.h +and (re)compiling the source code. diff --git a/config.def.h b/config.def.h index 8a6864e..e207f76 100644 --- a/config.def.h +++ b/config.def.h @@ -105,7 +105,9 @@ static Key keys[] = { TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) TAGKEYS( XK_4, 3) - TAGKEYS( XK_5, 4) + /*Adds the 5th workspace keybind with the US and Latam keyboard layout*/ + TAGKEYS( XK_|, 4) + TAGKEYS( XK_`, 4) TAGKEYS( XK_6, 5) TAGKEYS( XK_7, 6) TAGKEYS( XK_8, 7) diff --git a/config.h b/config.h index 8a6864e..1f7efaf 100644 --- a/config.h +++ b/config.h @@ -105,7 +105,9 @@ static Key keys[] = { TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) TAGKEYS( XK_4, 3) + /*Adds the 5th workspace keybind with the US and Latam keyboard layout*/ TAGKEYS( XK_5, 4) + /* TAGKEYS( XK_`, 4)*/ TAGKEYS( XK_6, 5) TAGKEYS( XK_7, 6) TAGKEYS( XK_8, 7) -- cgit v1.2.3