aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-11-09 23:32:47 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-11-09 23:32:47 +0100
commitbaa4be8fddacf572827d323c4ba7dee13aea987c (patch)
tree0090ffddec13b2b31894171dc58d58f6f0fd31eb
parentNew version, new patches (diff)
downloaddwm-baa4be8fddacf572827d323c4ba7dee13aea987c.tar.gz
dwm-baa4be8fddacf572827d323c4ba7dee13aea987c.tar.bz2
dwm-baa4be8fddacf572827d323c4ba7dee13aea987c.tar.xz
dwm-baa4be8fddacf572827d323c4ba7dee13aea987c.tar.zst
dwm-baa4be8fddacf572827d323c4ba7dee13aea987c.zip
README update
-rw-r--r--README69
-rw-r--r--README.org10
-rw-r--r--config.mk2
3 files changed, 73 insertions, 8 deletions
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