This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void focusurgent(const Arg *arg); | |
void | |
focusurgent(const Arg *arg) { | |
Client *c; | |
Monitor *m; | |
for(m = mons; m; m = m->next) { | |
for(c = m->clients; c; c = c->next) { | |
if(c->isurgent) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void togglefullscreen(const Arg *arg); | |
void | |
togglefullscreen(const Arg *arg) { | |
Client *c = selmon->sel; | |
if(!c) | |
return; | |
if(!c->isfullscreen) { | |
XChangeProperty(dpy, c->win, netatom[NetWMState], XA_ATOM, 32, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/main.c b/src/main.c | |
index 544715e..bba3273 100644 | |
--- a/src/main.c | |
+++ b/src/main.c | |
@@ -54,8 +54,10 @@ main(int argc, | |
scrot_do_delay(); | |
if (opt.multidisp) { | |
image = scrot_grab_shot_multi(); | |
+ } else if (opt.geometry) { | |
+ image = scrot_grab_shot(opt.x, opt.y, opt.width, opt.height); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
name=iat | |
page=$(curl -s "http://git.berlios.de/cgi-bin/gitweb.cgi?p=${name};a=log") | |
commits=($(grep -Eo '<a href="[^"]+">commit</a> \| <a href="[^"]+">commitdiff</a> \| <a href="[^"]+">tree</a>' <<< "$page" | grep -Eo ';h=[a-z0-9]+' | cut -d= -f2- | uniq)) | |
n=${#commits[@]} | |
for (( i=0; i<n; i++ )); do | |
h=${commits[i]} | |
printf 'Downloading commit: %s\n' "$h" >&2 | |
curl "http://git.berlios.de/cgi-bin/gitweb.cgi?p=iat;a=patch;h=${h}" -s -o "$name-$( printf "%0${#n}d" $(( n - i )) )-$h.patch" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
barwinwidth patch for dwm 5.9 | |
Make barwin span the whole width of screen, instead of window area. | |
Basically, replace: | |
m->ww with m->mw | |
m->wx with m->mx | |
This is done so padding the "window area" does not affect barwin. | |
diff -up a/dwm.c b/dwm.c | |
--- a/dwm.c 2011-08-29 12:00:00.00 +0000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- rssdler.py 2009-10-01 14:04:26.000000000 +0000 | |
+++ rssdler.py.new 2011-06-04 18:10:24.922457392 +0000 | |
@@ -54,6 +54,8 @@ | |
try: import mechanize | |
except ImportError: mechanize = None | |
+socket.setdefaulttimeout(10) | |
+ | |
# # # # # | |
# == Globals == |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fstat64(3, {st_mode=S_IFREG|0644, st_size=120674, ...}) = 0 | |
mmap2(NULL, 120674, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7807000 | |
munmap(0xb7807000, 120674) = 0 | |
mmap2(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7449000 | |
mmap2(0xb7400000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7349000 | |
futex(0xb77eb050, FUTEX_WAKE_PRIVATE, 2147483647) = 0 | |
fstat64(4, {st_mode=S_IFREG|0644, st_size=120674, ...}) = 0 | |
mmap2(NULL, 120674, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb742b000 | |
munmap(0xb742b000, 120674) = 0 | |
fstat64(4, {st_mode=S_IFREG|0644, st_size=120674, ...}) = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pygist.py b/pygist.py | |
index 0386d9d..cc0a4c2 100644 | |
--- a/pygist.py | |
+++ b/pygist.py | |
@@ -57,7 +57,7 @@ def get_gh_login(): | |
return user, token | |
-def gen_request(files, private, anon): | |
+def gen_request(files, private, anon, description): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: src/skin/livehttpheaders.css | |
=================================================================== | |
RCS file: /cvs/livehttpheaders/src/skin/livehttpheaders.css,v | |
retrieving revision 1.8 | |
diff -u -r1.8 livehttpheaders.css | |
--- src/skin/livehttpheaders.css 9 Feb 2010 17:01:37 -0000 1.8 | |
+++ src/skin/livehttpheaders.css 3 Jul 2010 12:41:53 -0000 | |
@@ -1,4 +1,4 @@ | |
-/*-------------------------------------------------------*/ | |
+/*-------------------------------------------------------*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: src/install.rdf | |
=================================================================== | |
RCS file: /cvs/livehttpheaders/src/install.rdf,v | |
retrieving revision 1.17 | |
diff -u -r1.17 install.rdf | |
--- src/install.rdf 9 Feb 2010 17:01:34 -0000 1.17 | |
+++ src/install.rdf 24 Apr 2011 07:54:49 -0000 | |
@@ -14,7 +14,7 @@ | |
<Description> | |
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> |
NewerOlder