From baa4be8fddacf572827d323c4ba7dee13aea987c Mon Sep 17 00:00:00 2001
From: JozanLeClerc <bousset.rudy@gmail.com>
Date: Mon, 9 Nov 2020 23:32:47 +0100
Subject: README update

---
 README     | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 README.org | 10 +++------
 config.mk  |  2 +-
 3 files changed, 73 insertions(+), 8 deletions(-)
 create mode 100644 README

diff --git a/README b/README
new file mode 100644
index 0000000..f90a343
--- /dev/null
+++ b/README
@@ -0,0 +1,69 @@
+Joe's dwm (the dynamic window manager) build
+The original dwm build I used to run. Based on version 6.2.
+
+Dependencies
+------------
+ Required:
+ ---------
+   - A C compiler
+   - make
+   - xorg
+   - libX11
+   - libXft
+
+ Optional:
+ ---------
+   - st
+   - dmenu
+
+Installation
+------------
+To install this open a terminal and run these commands:
+
+  $ git clone git://jozanleclerc.xyz/jozan/dwm.git
+  $ cd dwm
+  $ make
+  # make install clean
+
+To use it as a default WM, if you are using xinit, add this to your .xinitrc:
+  exec dwm
+
+Bindings
+--------
+Some of the main key bindings:
+- switch to workspace 1-12 with super+{F1-F12}
+- move selected stack to workspace 1-12 with super+shift+{F1-F12}
+- fire up st terminal with super+return
+- kill selected stack with super+q
+- cycle through stacks down/up with super+j/k
+- move selected stack down/up with super+shift+j/k
+- resize master stack to left/right with super+h/l
+- invoke dmenu_run application launcher with super+p
+- toggle better tiled mode with super+s
+- toggle alternative tiled mode with super+shift+s
+- toggle normal tiled mode with super+t
+- toggle fullscreen mode on selected stack with super+f
+- toggle floating mode on selected stack with super+space
+- toggle top bar with super+b. Hidden by default
+- restart dwm with super+shift+r
+- exit dwm with super+shift+e
+
+Patches
+-------
+List of patches in use:
+- actualfullscreen
+- alwayscenter
+- attachaside
+- cool-autostart
+- fibonacci
+- focusonclick
+- moveresize
+- movestack
+- noborder
+- pertag
+- restartsig
+- swallow
+
+My own autostart script can be found under my dotfiles-bsd repository:
+https://git.jozanleclerc.xyz/jozan/dotfiles-bsd/files.html
+It should be placed in ~/.config/dwm directory.
diff --git a/README.org b/README.org
index 5a00b6b..953b304 100644
--- a/README.org
+++ b/README.org
@@ -1,11 +1,9 @@
 #+TITLE: Joe's dwm (the dynamic window manager) build
 The original [[https://dwm.suckless.org/][dwm]] build I used to run. Based on version 6.2.
 
-/Note:/ as I am not using dwm anymore, developpement on my build might be stuck on this version.
-
 * Dependencies
 ** Required:
-	 - ~gcc~
+	 - A C Compiler
 	 - ~make~
 	 - ~xorg~
 	 - ~libX11~
@@ -20,7 +18,8 @@ To install this open a terminal and run these commands:
 #+BEGIN_SRC shell
 git clone git://jozanleclerc.xyz/jozan/dwm.git
 cd dwm
-sudo make clean install
+make
+make install clean
 #+END_SRC
 To use it as a default WM, if you are using xinit, add this to your ~.xinitrc~:
 #+BEGIN_SRC shell
@@ -62,9 +61,6 @@ List of patches in use:
 - /restartsig/
 - /swallow/
 
-* More
-Thanks for checking my custom ~dwm~ build.
-
 My own autostart script can be found under my
 [[https://git.jozanleclerc.xyz/jozan/dotfiles-bsd/files.html][dotfiles-bsd]] repository. It should
 be placed in =~/.config/dwm= directory.
diff --git a/config.mk b/config.mk
index 2bd91ef..e28b69b 100644
--- a/config.mk
+++ b/config.mk
@@ -28,7 +28,7 @@ LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} -lX11-xcb -lxcb -lxcb-r
 # flags
 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
 #CFLAGS   = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
-CFLAGS   = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
+CFLAGS   = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -march=ivybridge -O3 -pipe ${INCS} ${CPPFLAGS}
 LDFLAGS  = ${LIBS}
 
 # Solaris
-- 
cgit v1.2.3