commit fce0272b7a88d31b0625798930c7487b90e1db34
parent c067b1984398511490b1a058c15829bf4f5e0bc4
Author: David Phillips <dbphillipsnz@gmail.com>
Date: Sun, 18 Oct 2015 12:34:45 +1300
Merge branch 'master' of http://git.suckless.org/sites
Diffstat:
11 files changed, 128 insertions(+), 14 deletions(-)
diff --git a/dwm.suckless.org/patches/centeredmaster.md b/dwm.suckless.org/patches/centeredmaster.md
@@ -48,7 +48,7 @@ With two clients in master:
## Links
-* [dwm-6.1-centeredmaster.diff](dwm-6.1-centeredmaster.diff) - 4K, 2015/08/15
+* [dwm-6.1-centeredmaster.diff](dwm-6.1-centeredmaster.diff) - 4K, 2015/10/17
[jerome](http://blog.jardinmagique.info) <jerome@gcu.info>
diff --git a/dwm.suckless.org/patches/dwm-6.1-centeredmaster.diff b/dwm.suckless.org/patches/dwm-6.1-centeredmaster.diff
@@ -47,7 +47,7 @@ index 783fcdb..ab179d8 100644
+ } else {
+ // Stack clients are stacked horizontally
+ w = (m->ww - tx) / (n - i);
-+ resize(c, tx, m->wy, w - (2*c->bw), m->wh - (2*c->bw), False);
++ resize(c, m->wx + tx, m->wy, w - (2*c->bw), m->wh - (2*c->bw), False);
+ tx += WIDTH(c);
+ }
+}
diff --git a/dwm.suckless.org/patches/fancybar.md b/dwm.suckless.org/patches/fancybar.md
@@ -24,4 +24,4 @@ fit, they're cropped. The title of the selected window is inverted.
This patch was inspired by the decorated tabbed layout of Xmonad.
-[1]: http://s4.postimg.org/ql2f934wd/fancybar.png
+[1]: http://s27.postimg.org/nvlkivn03/2015_10_14_132203_727x15_scrot.png
diff --git a/dwm.suckless.org/patches/fancybarclickable.md b/dwm.suckless.org/patches/fancybarclickable.md
@@ -8,6 +8,8 @@ minus the [statuscolors](statuscolors). It uses the dwm bar to show you the
titles of all the windows in the current tag and lets you select windows by
selecting their title in the dwm bar.
+[![Fancybarclickable][1]][1]
+
Download
--------
* [dwm-6.1-fancybarclickable.diff](dwm-6.1-fancybarclickable.diff)
@@ -18,3 +20,5 @@ Authors
* Mate Nagy wrote [fancybar](fancybar.md).
* An anonymous Canadian updated the fancybar patch and added the
`selectby-click-on-title` function from fancycoloredbarclickable to it.
+
+[1]: http://s4.postimg.org/ql2f934wd/fancybar.png
diff --git a/suckless.org/people/hiltjo.md b/suckless.org/people/hiltjo.md
@@ -0,0 +1,12 @@
+hiltjo
+======
+
+Greetings traveler,
+
+I'm the current developer and maintainer of [dmenu](http://tools.suckless.org/dmenu).
+
+I have contributed some patches to various suckless projects.
+
+Some of my other projects are hosted at [2f30](http://git.2f30.org).
+
+My (personal) projects are available at [codemadness](http://git.codemadness.org).
diff --git a/surf.suckless.org/patches/omnibar.md b/surf.suckless.org/patches/omnibar.md
@@ -29,7 +29,7 @@ Now you can use the following key (don't forget to remove the old one):
Download
--------
* [surf-0.6-omnibar.diff](surf-0.6-omnibar.diff) (1.4k) (20151006)
-* [omnibar-7b4a6055f2a7a8326e93f4d6eb6a3a47bb17fec0](https://github.com/clamiax/.surf/blob/7b4a6055f2a7a8326e93f4d6eb6a3a47bb17fec0/omnibar)
+* [omnibar-5b01af10e2](https://github.com/clamiax/.surf/blob/5b01af10e259d6281523ff75efeb4f99c63e2d74/omnibar)
Author
------
diff --git a/surf.suckless.org/patches/surf-0.6-omnibar.diff b/surf.suckless.org/patches/surf-0.6-omnibar.diff
@@ -1,5 +1,5 @@
diff --git a/config.def.h b/config.def.h
-index 1eb9566..fac7fa7 100644
+index 1eb9566..e1f142d 100644
--- a/config.def.h
+++ b/config.def.h
@@ -63,6 +63,18 @@ static Bool allowgeolocation = TRUE;
@@ -9,12 +9,12 @@ index 1eb9566..fac7fa7 100644
+#define ONLOAD(u) { \
+ .v = (char *[]){"/bin/sh", "-c", \
+ "~/.surf/omnibar addhist \"$0\"", u, NULL \
-+ } \
++ } \
+}
+
+#define GOTO { \
+ .v = (char *[]){"/bin/sh", "-c", \
-+ "~/.surf/omnibar goto $0 $1", winid, "_SURF_GO", NULL \
++ "~/.surf/omnibar goto \"$0\" \"$1\"", winid, "_SURF_GO", NULL \
+ } \
+}
+
@@ -26,20 +26,33 @@ index 1eb9566..fac7fa7 100644
{ MODKEY|GDK_SHIFT_MASK,GDK_o, inspector, { 0 } },
- { MODKEY, GDK_g, spawn, SETPROP("_SURF_URI", "_SURF_GO") },
-+ { MODKEY, GDK_g, spawn, GOTO },
++ { MODKEY, GDK_KEY_g, spawn, GOTO },
{ MODKEY, GDK_f, spawn, SETPROP("_SURF_FIND", "_SURF_FIND") },
{ MODKEY, GDK_slash, spawn, SETPROP("_SURF_FIND", "_SURF_FIND") },
diff --git a/surf.c b/surf.c
-index 02656ec..1d84358 100644
+index 02656ec..1ccd821 100644
--- a/surf.c
+++ b/surf.c
-@@ -731,6 +731,8 @@ loadstatuschange(WebKitWebView *view, GParamSpec *pspec, Client *c) {
- g_object_set(G_OBJECT(set), "user-stylesheet-uri",
- getstyle(uri), NULL);
+@@ -712,11 +712,11 @@ loadstatuschange(WebKitWebView *view, GParamSpec *pspec, Client *c) {
+ WebKitNetworkRequest *request;
+ WebKitWebSettings *set = webkit_web_view_get_settings(c->view);
+ SoupMessage *msg;
+- char *uri;
++ char *uri = geturi(c);
++ Arg arg = (Arg)ONLOAD(uri);
+
+ switch(webkit_web_view_get_load_status (c->view)) {
+ case WEBKIT_LOAD_COMMITTED:
+- uri = geturi(c);
+ if(strstr(uri, "https://") == uri) {
+ frame = webkit_web_view_get_main_frame(c->view);
+ src = webkit_web_frame_get_data_source(frame);
+@@ -733,6 +733,7 @@ loadstatuschange(WebKitWebView *view, GParamSpec *pspec, Client *c) {
}
-+ Arg a = (Arg)ONLOAD((char *)uri);
-+ spawn(NULL, &a);
break;
case WEBKIT_LOAD_FINISHED:
++ spawn(NULL, &arg);
c->progress = 100;
+ updatetitle(c);
+ if(diskcache) {
diff --git a/tools.suckless.org/dmenu/index.md b/tools.suckless.org/dmenu/index.md
@@ -18,3 +18,9 @@ Mailing list
* `dev+subscribe@suckless.org` ([Archives](http://lists.suckless.org/dev/))
([Old Archives](http://lists.suckless.org/dwm/)) (see [community](http://suckless.org/community/) for details)
+
+Development
+-----------
+You can [browse](http://git.suckless.org/dmenu) its source code repository or get a copy using git with the following command:
+
+ git clone http://git.suckless.org/dmenu
diff --git a/tools.suckless.org/dmenu/scripts/index.md b/tools.suckless.org/dmenu/scripts/index.md
@@ -19,3 +19,5 @@ Download
[run-recent](run-recent), but it uses atime to find recently executed commands
rather than a cache. As such, it also takes into account programs executed from
the terminal.
+* [browse](https://github.com/clamiax/scripts/blob/master/browse):
+ little files navigator
diff --git a/tools.suckless.org/sic/patches/lineprint.md b/tools.suckless.org/sic/patches/lineprint.md
@@ -0,0 +1,24 @@
+Print the current inserting line
+================================
+This patch allow to store and reprint the current inserting line. This is done
+by appending a suffix character to the input. The line is (obviously) not sent.
+
+In a nutshell:
+
+ :ni\
+ :nick baz\
+ :nick bazqux
+ clamiax : 2015-10-09 18:15 >< NICK (): bazqux
+
+This is useful, for example, when receiving data from the server in the middle
+of a sentence you're writing.
+
+Note: the patch also changes the config.def.h file.
+
+Download
+--------
+* [sic-1.3-lineprint.diff](sic-1.3-lineprint.diff) (1,3K) (20151009)
+
+Author
+------
+* Claudio Alessi <[smoppy@gmail.com](mailto:smoppy@gmail.com)>
diff --git a/tools.suckless.org/sic/patches/sic-1.3-lineprint.diff b/tools.suckless.org/sic/patches/sic-1.3-lineprint.diff
@@ -0,0 +1,53 @@
+diff --git a/config.def.h b/config.def.h
+index 6d720e9..a1308e6 100644
+--- a/config.def.h
++++ b/config.def.h
+@@ -12,3 +12,6 @@
+
+ /* Parting message used when none is specified with ":l ..." command. */
+ #define DEFAULT_PARTING_MESSAGE "sic - 250 LOC are too much!"
++
++/* Suffix character used to print the current inserting command */
++#define LINEPRINT_SUFFIX_CHAR '\\'
+diff --git a/sic.c b/sic.c
+index 8a0301b..6401414 100644
+--- a/sic.c
++++ b/sic.c
+@@ -18,6 +18,7 @@ static char *password;
+ static char nick[32];
+ static char bufin[4096];
+ static char bufout[4096];
++static char bufln[4096];
+ static char channel[256];
+ static time_t trespond;
+ static FILE *srv;
+@@ -60,11 +61,29 @@ privmsg(char *channel, char *msg) {
+
+ static void
+ parsein(char *s) {
++ int i, off;
+ char c, *p;
+
+ if(s[0] == '\0')
+ return;
+ skip(s, '\n');
++
++ /* input reprint */
++ i = strlen(s) - 1;
++ off = (*bufln ? strlen(bufln) : 0);
++ if(s[i] == LINEPRINT_SUFFIX_CHAR) {
++ s[i] = '\0';
++ if(i)
++ snprintf(&bufln[off], (sizeof bufln - off), "%s", s);
++ printf("%s", bufln);
++ return;
++ }
++ else if(*bufln) {
++ snprintf(&bufln[off], sizeof bufln, "%s", s);
++ strlcpy(s, bufln, 4096);
++ *bufln = '\0';
++ }
++
+ if(s[0] != COMMAND_PREFIX_CHARACTER) {
+ privmsg(channel, s);
+ return;