diff options
| author | William Casarin <jb55@jb55.com> | 2018-07-09 10:43:34 -0700 |
|---|---|---|
| committer | William Casarin <jb55@jb55.com> | 2018-07-09 10:43:34 -0700 |
| commit | a9f7c9b29fc54ca1ffa98c670491cd3c9e507f90 (patch) | |
| tree | 5493279b7ba68c32ea664bfba2f9c508f597f24b | |
| parent | 55ae285ef587942dc34c5f95b7f97037deb791a2 (diff) | |
initial readme
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | README | 15 | ||||
| -rw-r--r-- | TODO.org | 8 | ||||
| -rw-r--r-- | drw.c | 6 |
4 files changed, 18 insertions, 12 deletions
@@ -3,3 +3,4 @@ *.o /config.h /TAGS +/archive/ @@ -0,0 +1,15 @@ + +cmdtree +======= + +cmdtree is a command launcher in the form of a trie. Commands are launch by a +sequence of keys that form a path in this trie. + +Configuring cmdtree is easy (this format is still WIP): + +~/.cmdtreerc or ~/.config/cmdtree/cmdtreerc: + +(a application + (b chrome --force-device-scale-factor=1.25) + (e emacs) +)
\ No newline at end of file @@ -1,9 +1,5 @@ -* DONE popup window -CLOSED: [2018-07-08 Sun 12:15] -* DONE close window on escape -CLOSED: [2018-07-08 Sun 12:20] - -* TODO draw command +* TODO draw key as well +* TODO command/bind different color * TODO column layout @@ -252,13 +252,9 @@ drw_text(Drw *drw, int x, int y, unsigned int w, unsigned int h, unsigned int lp XftResult result; int charexists = 0; - printf("1\n"); - if (!drw || (render && !drw->scheme) || !text || !drw->fonts) return 0; - printf("2\n"); - if (!render) { w = ~w; } else { @@ -271,8 +267,6 @@ drw_text(Drw *drw, int x, int y, unsigned int w, unsigned int h, unsigned int lp w -= lpad; } - printf("3\n"); - usedfont = drw->fonts; while (1) { utf8strlen = 0; |
