sites

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

commit 08c97cf6943f6f6358245c32d8f051c7c46b66f7
parent 12dc39a36279d0fa573eb17fb275f6ba61f80a2a
Author: Anselm R Garbe <anselm@garbe.us>
Date:   Sun, 27 Mar 2011 09:01:13 +0000

merged
Diffstat:
Adwm.suckless.org/faq.md | 12++++++++++++
Mdwm.suckless.org/index.md | 10+++++++++-
Atools.suckless.org/dmenu/patches/dmenu-4.2.1-fastgrab.diff | 50++++++++++++++++++++++++++++++++++++++++++++++++++
Atools.suckless.org/dmenu/patches/fastgrab.md | 11+++++++++++
4 files changed, 82 insertions(+), 1 deletion(-)

diff --git a/dwm.suckless.org/faq.md b/dwm.suckless.org/faq.md @@ -0,0 +1,12 @@ +dwm - Frequently asked questions +================================ + +* Q: I've got a 1 or 2 pixel gap between the right side of my terminal and the + right side of the screen, and I want to turn it off. + A: This is due to the column-based nature of terminals. Terminals don't just + insert space somewhere, but tell the WM they can't be resized in a certain + way. The terminal can't use the "wasted space" anyway, so this is purely + aesthetics. + You can change `static const Bool resizehints = True;` to `False` in + config.h to turn resizehints off. This wastes the same amount of space + inside the terminal window that would otherwise be wasted outside. diff --git a/dwm.suckless.org/index.md b/dwm.suckless.org/index.md @@ -53,9 +53,17 @@ Download * [dwm 5.8.2](http://dl.suckless.org/dwm/dwm-5.8.2.tar.gz) (20kb) (20100604) * See also [dmenu](http://tools.suckless.org/dmenu) +Support +------- +See the [faq](http://dwm.suckless.org/faq] for the frequent problems that +arise. The next step is to look at the sourcecode and the config.h for obvious +names, which could be related to the problem that arose. If that does not help +to fix the problem, then there is the #suckless IRC channel and the +mailinglist. + Development ----------- -dwm is actively developed in parallel to wmii. You can [browse](http://hg.suckless.org/dwm) its source code repository or get a copy using [Mercurial](http://www.selenic.com/mercurial/) with the following command: +You can [browse](http://hg.suckless.org/dwm) its source code repository or get a copy using [Mercurial](http://www.selenic.com/mercurial/) with the following command: hg clone http://hg.suckless.org/dwm diff --git a/tools.suckless.org/dmenu/patches/dmenu-4.2.1-fastgrab.diff b/tools.suckless.org/dmenu/patches/dmenu-4.2.1-fastgrab.diff @@ -0,0 +1,50 @@ +diff -r a79e4a9cb167 dmenu.c +--- a/dmenu.c Sat Nov 20 09:25:08 2010 +0000 ++++ b/dmenu.c Fri Feb 18 04:24:31 2011 +0000 +@@ -66,6 +68,7 @@ + int + main(int argc, char *argv[]) { + int i; ++ Bool fastgrab = False; + + progname = "dmenu"; + for(i = 1; i < argc; i++) +@@ -78,6 +81,10 @@ + topbar = False; + else if(!strcmp(argv[i], "-i")) + fstrncmp = strncasecmp; ++ else if(!strcmp(argv[i], "-f")) ++ fastgrab = True; + else if(i == argc-1) + usage(); + /* double flags */ +@@ -101,15 +108,61 @@ + usage(); + + dc = initdc(); + initfont(dc, font); ++ ++ if(fastgrab) ++ setup(); /* grab X _now_ */ ++ + readstdin(); +- setup(); ++ ++ if(!fastgrab) ++ setup(); ++ else ++ match(); /* need to re-match now we've read the input */ ++ + run(); + + return EXIT_FAILURE; /* should not reach */ + } +@@ -536,7 +594,7 @@ + + void + usage(void) { +- fputs("usage: dmenu [-b] [-i] [-l lines] [-m monitor] [-p prompt] [-fn font]\n" ++ fputs("usage: dmenu [-b] [-i] [-f] [-l lines] [-m monitor] [-p prompt] [-fn font]\n" + " [-nb color] [-nf color] [-sb color] [-sf color] [-v]\n", stderr); + exit(EXIT_FAILURE); + } diff --git a/tools.suckless.org/dmenu/patches/fastgrab.md b/tools.suckless.org/dmenu/patches/fastgrab.md @@ -0,0 +1,11 @@ +FAST GRAB +========= + +This patch causes dmenu to grab the X11 keyboard before reading input. + +This is useful if your machine isn't too snappy, or if your input to dmenu takes a while to complete. + +Download +-------- + +* [dmenu-4.2.1-fastgrab.diff](dmenu-4.2.1-fastgrab.diff)