jokerboy avatar jokerboy committed e78d596

updates

Comments (0)

Files changed (22)

01-dwm-6.0-pertag2.diff

 Homepage: http://hg.punctweb.ro
 
 --- a/dwm.c	2012-07-08 10:45:53.000000000 +0300
-+++ b/dwm.c	2012-07-22 00:34:27.689836889 +0300
++++ b/dwm.c	2012-07-22 14:56:54.096763977 +0300
 @@ -127,8 +127,6 @@ typedef struct {
  
  struct Monitor {

02-dwm-6.0-push.diff

 Homepage: http://hg.punctweb.ro
 
---- a/dwm.c	2012-07-22 00:34:27.702836888 +0300
-+++ b/dwm.c	2012-07-22 00:34:27.704836890 +0300
+--- a/dwm.c	2012-07-22 14:56:54.107763976 +0300
++++ b/dwm.c	2012-07-22 14:56:54.110763977 +0300
 @@ -264,6 +264,9 @@ static int xerrordummy(Display *dpy, XEr
  static int xerrorstart(Display *dpy, XErrorEvent *ee);
  static void zoom(const Arg *arg);

03-dwm-6.0-cycle.diff

 Homepage: http://hg.punctweb.ro
 
---- a/dwm.c	2012-07-22 00:34:27.716836890 +0300
-+++ b/dwm.c	2012-07-22 00:34:27.719836890 +0300
+--- a/dwm.c	2012-07-22 14:56:54.121763977 +0300
++++ b/dwm.c	2012-07-22 14:56:54.123763977 +0300
 @@ -267,6 +267,9 @@ static void bstack(Monitor *m);
  static Client *prevtiled(Client *c);
  static void pushup(const Arg *arg);

04-dwm-6.0-gaplessgrid.diff

 Homepage: http://hg.punctweb.ro
 
---- a/dwm.c	2012-07-22 00:34:27.731836892 +0300
-+++ b/dwm.c	2012-07-22 00:34:27.734836890 +0300
+--- a/dwm.c	2012-07-22 14:56:54.135763978 +0300
++++ b/dwm.c	2012-07-22 14:56:54.137763978 +0300
 @@ -270,6 +270,7 @@ static void pushdown(const Arg *arg);
  static void cycle(const Arg *arg);
  static int shifttag(int dist);

05-dwm-6.0-pidgin.diff

 Homepage: http://hg.punctweb.ro
 
---- a/dwm.c	2012-07-22 00:34:27.745836893 +0300
-+++ b/dwm.c	2012-07-22 00:34:27.748836892 +0300
+--- a/dwm.c	2012-07-22 14:56:54.149763979 +0300
++++ b/dwm.c	2012-07-22 14:56:54.151763979 +0300
 @@ -271,6 +271,7 @@ static void cycle(const Arg *arg);
  static int shifttag(int dist);
  static void tagcycle(const Arg *arg);

06-dwm-6.0-monocle_count.diff

 Homepage: http://hg.punctweb.ro
 
---- a/dwm.c	2012-07-22 00:34:27.759836893 +0300
-+++ b/dwm.c	2012-07-22 00:34:27.762836894 +0300
+--- a/dwm.c	2012-07-22 14:56:54.163763980 +0300
++++ b/dwm.c	2012-07-22 14:56:54.165763980 +0300
 @@ -765,6 +765,7 @@ drawbar(Monitor *m) {
  	int x;
  	unsigned int i, occ = 0, urg = 0;

07-dwm-6.0-monocle_borderless.diff

 Homepage: http://hg.punctweb.ro
 
---- a/dwm.c	2012-07-22 00:34:27.773836892 +0300
-+++ b/dwm.c	2012-07-22 00:34:27.776836895 +0300
+--- a/dwm.c	2012-07-22 14:56:54.176763981 +0300
++++ b/dwm.c	2012-07-22 14:56:54.179763981 +0300
 @@ -1411,7 +1411,11 @@ resizeclient(Client *c, int x, int y, in
  	c->oldy = c->y; c->y = wc.y = y;
  	c->oldw = c->w; c->w = wc.width = w;

08-dwm-6.0-clicktofocus.diff

 Homepage: http://hg.punctweb.ro
 
---- a/dwm.c	2012-07-22 00:34:27.787836894 +0300
-+++ b/dwm.c	2012-07-22 00:34:27.790836894 +0300
+--- a/dwm.c	2012-07-22 14:56:54.190763982 +0300
++++ b/dwm.c	2012-07-22 14:56:54.192763982 +0300
 @@ -868,6 +868,8 @@ drawtext(const char *text, unsigned long
  
  void

09-dwm-6.0-viewontag.diff

 Homepage: http://hg.punctweb.ro
 
---- a/dwm.c	2012-07-22 00:34:27.800836896 +0300
-+++ b/dwm.c	2012-07-22 00:34:27.803836896 +0300
+--- a/dwm.c	2012-07-22 14:56:54.203763982 +0300
++++ b/dwm.c	2012-07-22 14:56:54.206763983 +0300
 @@ -1752,6 +1752,8 @@ tag(const Arg *arg) {
  		selmon->sel->tags = arg->ui & TAGMASK;
  		focus(NULL);

10-dwm-6.0-scratchpad.diff

 Homepage: http://hg.punctweb.ro
 
---- a/dwm.c	2012-07-22 00:34:27.814836897 +0300
-+++ b/dwm.c	2012-07-22 00:34:27.817836897 +0300
+--- a/dwm.c	2012-07-22 14:56:54.217763983 +0300
++++ b/dwm.c	2012-07-22 14:56:54.220763983 +0300
 @@ -272,6 +272,7 @@ static int shifttag(int dist);
  static void tagcycle(const Arg *arg);
  static void gaplessgrid(Monitor *m);

11-dwm-6.0-togglemax.diff

 Homepage: http://hg.punctweb.ro
 
---- a/dwm.c	2012-07-22 00:34:27.829836896 +0300
-+++ b/dwm.c	2012-07-22 00:34:27.831836898 +0300
+--- a/dwm.c	2012-07-22 14:56:54.231763984 +0300
++++ b/dwm.c	2012-07-22 14:56:54.234763984 +0300
 @@ -273,6 +273,7 @@ static void tagcycle(const Arg *arg);
  static void gaplessgrid(Monitor *m);
  static void pidgin(Monitor *m);

12-dwm-6.0-autoresize.diff

 Homepage: http://hg.punctweb.ro
 
---- a/dwm.c	2012-07-22 00:34:27.843836898 +0300
-+++ b/dwm.c	2012-07-22 00:34:27.846836898 +0300
+--- a/dwm.c	2012-07-22 14:56:54.245763985 +0300
++++ b/dwm.c	2012-07-22 14:56:54.248763985 +0300
 @@ -91,7 +91,7 @@ struct Client {
  	int basew, baseh, incw, inch, maxw, maxh, minw, minh;
  	int bw, oldbw;

13-dwm-6.0-increase_mfact_limit.diff

 Homepage: http://hg.punctweb.ro
 
---- a/dwm.c	2012-07-22 00:34:27.857836900 +0300
-+++ b/dwm.c	2012-07-22 00:34:27.859836899 +0300
+--- a/dwm.c	2012-07-22 14:56:54.259763986 +0300
++++ b/dwm.c	2012-07-22 14:56:54.262763986 +0300
 @@ -1658,7 +1658,7 @@ setmfact(const Arg *arg) {
  	if(!arg || !selmon->lt[selmon->sellt]->arrange)
  		return;

14-dwm-6.0-remember-tags.diff

 Homepage: http://hg.punctweb.ro
 
---- a/dwm.c	2012-07-22 00:34:27.870836900 +0300
-+++ b/dwm.c	2012-07-22 00:34:27.873836901 +0300
+--- a/dwm.c	2012-07-22 14:56:54.273763987 +0300
++++ b/dwm.c	2012-07-22 14:56:54.276763987 +0300
 @@ -63,6 +63,7 @@ enum { NetSupported, NetWMName, NetWMSta
         NetWMFullscreen, NetActiveWindow, NetWMWindowType,
         NetWMWindowTypeDialog, NetClientList, NetLast };     /* EWMH atoms */

15-dwm-6.0-centred-floating.diff

 Homepage: http://hg.punctweb.ro
 
---- a/dwm.c	2012-07-22 00:34:27.885836900 +0300
-+++ b/dwm.c	2012-07-22 00:34:27.888836902 +0300
+--- a/dwm.c	2012-07-22 14:56:54.287763988 +0300
++++ b/dwm.c	2012-07-22 14:56:54.290763988 +0300
 @@ -92,7 +92,7 @@ struct Client {
  	int basew, baseh, incw, inch, maxw, maxh, minw, minh;
  	int bw, oldbw;

16-dwm-6.0-focusurgent.diff

 Homepage: http://hg.punctweb.ro
 
---- a/dwm.c	2012-07-22 00:34:27.899836900 +0300
-+++ b/dwm.c	2012-07-22 00:34:27.902836902 +0300
+--- a/dwm.c	2012-07-22 14:56:54.301763989 +0300
++++ b/dwm.c	2012-07-22 14:56:54.304763989 +0300
 @@ -277,6 +277,7 @@ static void pidgin(Monitor *m);
  static void togglescratch(const Arg *arg);
  static void togglemax(const Arg *arg);

17-dwm-6.0-statuscolors.diff

 Homepage: http://hg.punctweb.ro
 
---- a/dwm.c	2012-07-22 00:34:27.914836902 +0300
-+++ b/dwm.c	2012-07-22 00:34:27.917836902 +0300
+--- a/dwm.c	2012-07-22 14:56:54.315763989 +0300
++++ b/dwm.c	2012-07-22 14:56:54.318763990 +0300
 @@ -55,6 +55,7 @@
  #define HEIGHT(X)               ((X)->h + 2 * (X)->bw)
  #define TAGMASK                 ((1 << LENGTH(tags)) - 1)

18-dwm-6.0-save_floats.diff

 Homepage: http://hg.punctweb.ro
 
---- a/dwm.c	2012-07-22 00:34:27.929836904 +0300
-+++ b/dwm.c	2012-07-22 00:34:27.932836902 +0300
+--- a/dwm.c	2012-07-22 14:56:54.330763990 +0300
++++ b/dwm.c	2012-07-22 14:56:54.333763991 +0300
 @@ -90,6 +90,7 @@ struct Client {
  	float mina, maxa;
  	int x, y, w, h;

19-dwm-6.0-systray.diff

 Homepage: http://hg.punctweb.ro
 
---- a/dwm.c	2012-07-22 00:34:27.944836905 +0300
-+++ b/dwm.c	2012-07-22 00:34:27.947836903 +0300
+--- a/dwm.c	2012-07-22 14:56:54.344763991 +0300
++++ b/dwm.c	2012-07-22 14:56:54.347763991 +0300
 @@ -57,12 +57,31 @@
  #define TEXTW(X)                (textnw(X, strlen(X)) + dc.font.height)
  #define MAXCOLORS               8

20-dwm-6.0-centerwindow.diff

 Homepage: http://hg.punctweb.ro
 
---- a/dwm.c	2012-07-22 00:34:27.960836906 +0300
-+++ b/dwm.c	2012-07-22 00:34:27.963836904 +0300
+--- a/dwm.c	2012-07-22 14:56:54.360763992 +0300
++++ b/dwm.c	2012-07-22 14:56:54.363763992 +0300
 @@ -315,6 +315,7 @@ static void updatesystray(void);
  static void updatesystrayicongeom(Client *i, int w, int h);
  static void updatesystrayiconstate(Client *i, XPropertyEvent *ev);
  
  /* variables */
  static const char broken[] = "broken";
-@@ -2940,6 +2941,21 @@ wintosystrayicon(Window w) {
+@@ -2940,6 +2941,16 @@ wintosystrayicon(Window w) {
  	return i;
  }
  
 +void
 +centerwindow(const Arg *arg) {
-+	if(!selmon->sel)
++	if(!selmon->sel || !selmon->sel->isfloating || selmon->sel->isfullscreen)
 +		return;
-+	if(selmon->sel->isfullscreen) /* no support for fullscreen windows */
-+		return;
-+	selmon->sel->isfloating = !selmon->sel->isfloating || selmon->sel->isfixed;
-+	if(selmon->sel->isfloating) {
-+		selmon->sel->x = selmon->sel->oldx = selmon->wx + (selmon->ww / 2 - selmon->sel->w / 2);
-+		selmon->sel->y = selmon->sel->oldy = selmon->wy + (selmon->wh / 2 - selmon->sel->h / 2);
-+		XMoveResizeWindow(dpy, selmon->sel->win, selmon->sel->x, selmon->sel->y, selmon->sel->w, selmon->sel->h);
-+	}
++	selmon->sel->x = selmon->sel->oldx = selmon->wx + (selmon->ww / 2 - selmon->sel->w / 2);
++	selmon->sel->y = selmon->sel->oldy = selmon->wy + (selmon->wh / 2 - selmon->sel->h / 2);
++	XMoveResizeWindow(dpy, selmon->sel->win, selmon->sel->x, selmon->sel->y, selmon->sel->w, selmon->sel->h);
 +	arrange(selmon);
 +}
 +
         "19-${pkgname}-${pkgver}-systray.diff"
         "20-${pkgname}-${pkgver}-centerwindow.diff")
 sha256sums=('bb5c4bb7ba052a5498118eeb571165997f7dae62580c1be1a5cdf11e03bc8127'
-            '3630d6b56f5fc5a3c0d7297233c675f4fad5e97454742c1874c33e1cd08345f1'
-            '562084007ab8882907cb6700e6e69d489e0db375e15bce180517a177bcb80141'
-            '210d8558e5de4e561b697938cf5d09c34307c72705517a6026c6a4e15e1b598b'
-            '056f2ef5e5e6f8b7cf14f2431b09171f964e0b73efb34b419c830db2ce45dd62'
-            '42b5180a16cb53fc95ef95283fc6b84a764b0a596eae3c09564494f6de66d739'
-            '2b64f85aac12a06679bc435abe1d84b3bf74885b8f87a045462d7439254b4b52'
-            '659adef65c1214abdec4180c9eee73c1418d628fe5bfbddb1c7413048f5ad3e3'
-            'eb44f3a4e64d5ca9beb7dc1a43e266da9566ad1e52fe7d3be3d08871f3424989'
-            '6df7e8226361313d39cdbc5bca304df79f3d629ddd0eca3849872822ef3bce2a'
-            '5ba48fa0e06c1ebe63e462f6da0b639b73d6c6ae56dbab79b96f3771db2daa9f'
-            '91d243c11a01a6e379ce2b8b551b4e51d70ba59ec5a88ae848225dbbfbd29ea3'
-            '50dcd38100da40f5426f764198d8a13e0285fddffe08417724a4d2029cb2ee08'
-            'b52444f873cd65ca7459ad12dfd10b1e7f84171429723b09a73dfd73271d906b'
-            '149ada07c01e38ae096c55490577e1767280aef7e7f9db96821778867e3dfa44'
-            '2f12effe4937131ea3eab47900ce9beefc3f3d084b4d5d4595cb1f373e7978a4'
-            'f622c2f5b72b0eb1ee7df7c36fa1d8f8dadfbcd3d67e720306168eba3ac6ca2b'
-            '9b1541709421a5504a47b7ad790c19e096b5872a60b22cd525d0958b95df8617'
-            'e73f1ea3df3d300fdeaabb52cdc7d4429994df80105268f33aeec4f577af159c'
-            '2a0852ed63b9582920d6178894484d2456bc055c368b8afd874f51f2fc0b1beb'
-            '416775c5e2e6006922a8000b4e1b52170599fa44dc0fc91164e661a7f2a32823'
-            'e737a3950dd0bc1b9c115b597842d11848dfe7b8169920916f18535db33c037f')
+            '0aaacdcc9862530c00ed2e871bc9184696083bf23d77b6adda2142ce7ac62d2b'
+            '3f75f08692af6be293dc5c2218094b550409c3d8045243ccee6e0e33d043c157'
+            '2ba86ae4b9c8004dc13e5fe38f30fb3ac471b2e86f3a998796171739574678f8'
+            'a6c9ab6cba332f08f3ca4672507e5804c8fc1855816c44abb799762c7677ba86'
+            '3b3ca4efaca91ac2d7c307e4510fe26585a49b3eb6cb3505f277e3ed7507f665'
+            '7899bb947553c3b21b472ad4e9401271f93d04d0b5759a3f28701570bd791f56'
+            '774e08339285fa79059999895e8b2419346329572fc1f43ad07a467c69afd71c'
+            '9057914c3fa9a13fb395e906bd8e91b4755367e8cbd64bb433a0cf4b3612859b'
+            '8604aa3e7f043f47620e993179b12754d893c050d25b2c08190bd139e7594ce4'
+            'f26501e4f8b5938dee886b03fb8d71235c5974cefdb61a604f7deab20b709d3c'
+            '7ee5185dd709e9160427014e13adabf2ea2a80b02259ac91ebb41b52ea05d14d'
+            '3dfb565f11279dc7cf2aedc650ff4fca5f0ae04a9d0db1713167aac8569ebc99'
+            '588d275073c5085947567175296bebe11d1b8bd2866305bafc2a38204c288273'
+            'b5db8bb78f63f1973e87448608b849f6784f8182a3528051244b7f794f209d1b'
+            '92bc5d65a4065a4fce637cce563d171a9d1c77d0586fd6b274b0b8a9302d15aa'
+            '4eb72a5a9c0cba6c275847b7f6b2d6a8b57fcc017f1fd25178c67eaaa4a68ebc'
+            'e80fd59d2f9f1e2dd43946c4a8a6db60f834db4bad45d8f5dbf48ad7f3b6446b'
+            'eb713f35bd9501c1520e3d7d0149c0be10274b6fce2ac551350e0e8cf4d7ec12'
+            'c721221925c7ab006dd59721154e28ed462e43fe29b9616f3c95a99831020f96'
+            'c4396840993717ba33aaaf98c4b7f7fe9064237667cc6e4e1dade1e8d24f0988'
+            '7fa2486acd6ed6b8388bd476c7daaa403ae56e3dc9bbd1bcc62233585ed1e1ca')
 
 build() {
   cd "${srcdir}" && cd "`find . -type d -name dwm-\*`"
 static const char *browsergcmd[]   = { "firefox", "-p", "games", NULL };
 static const char *altbrowsercmd[] = { "chromium", NULL };
 static const char *secbrowsercmd[] = { "opera", NULL };
-static const char *editorcmd[]     = { "komodo", NULL };
+static const char *editorcmd[]     = { "komodoedit", NULL };
 static const char *imcmd[]         = { "pidgin", NULL };
 static const char *vboxcmd[]       = { "VirtualBox", NULL };
 static const char *volmcmd[]       = { "amixer", "-q", "sset", "Master", "toggle", NULL };
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.