[wiki] [sites] delete old unused/unlinked files || Matt Boswell

From: <git_AT_suckless.org>
Date: Fri, 22 Jan 2016 18:05:55 +0100

commit 6cb2088c5aa29cd384288f47d6ef6d6982bb5575
Author: Matt Boswell <mordervomubel+gitlab_AT_lockmail.us>
Date: Fri Jan 22 12:03:59 2016 -0500

    delete old unused/unlinked files
    
    This should have been in my last commit, but I missed it.

diff --git a/dwm.suckless.org/patches/dwm-git-20120406-push.diff b/dwm.suckless.org/patches/dwm-git-20120406-push.diff
deleted file mode 100644
index bee858f..0000000
--- a/dwm.suckless.org/patches/dwm-git-20120406-push.diff
+++ /dev/null
_AT_@ -1,65 +0,0 @@
-URL: http://dwm.suckless.org/patches/push
-pushup and pushdown provide a way to move clients inside the clients list.
-
-diff -r 10e232f9ace7 push.c
---- /dev/null Thu Jan 01 00:00:00 1970 +0000
-+++ b/push.c Fri Apr 06 08:16:39 2012 +0200
-_AT_@ -0,0 +1,58 @@
-+static Client *
-+prevtiled(Client *c) {
-+ Client *p, *r;
-+
-+ for(p = selmon->clients, r = NULL; p && p != c; p = p->next)
-+ if(!p->isfloating && ISVISIBLE(p))
-+ r = p;
-+ return r;
-+}
-+
-+static void
-+pushup(const Arg *arg) {
-+ Client *sel = selmon->sel;
-+ Client *c;
-+
-+ if(!sel || sel->isfloating)
-+ return;
-+ if((c = prevtiled(sel))) {
-+ /* attach before c */
-+ detach(sel);
-+ sel->next = c;
-+ if(selmon->clients == c)
-+ selmon->clients = sel;
-+ else {
-+ for(c = selmon->clients; c->next != sel->next; c = c->next);
-+ c->next = sel;
-+ }
-+ } else {
-+ /* move to the end */
-+ for(c = sel; c->next; c = c->next);
-+ detach(sel);
-+ sel->next = NULL;
-+ c->next = sel;
-+ }
-+ focus(sel);
-+ arrange(selmon);
-+}
-+
-+static void
-+pushdown(const Arg *arg) {
-+ Client *sel = selmon->sel;
-+ Client *c;
-+
-+ if(!sel || sel->isfloating)
-+ return;
-+ if((c = nexttiled(sel->next))) {
-+ /* attach after c */
-+ detach(sel);
-+ sel->next = c->next;
-+ c->next = sel;
-+ } else {
-+ /* move to the front */
-+ detach(sel);
-+ attach(sel);
-+ }
-+ focus(sel);
-+ arrange(selmon);
-+}
diff --git a/dwm.suckless.org/patches/historical/push-5.3.c b/dwm.suckless.org/patches/historical/push-5.3.c
deleted file mode 100644
index f892b0f..0000000
--- a/dwm.suckless.org/patches/historical/push-5.3.c
+++ /dev/null
_AT_@ -1,56 +0,0 @@
-static Client *
-prevtiled(Client *c) {
- Client *p, *r;
-
- for (p = clients, r = NULL; p && p != c; p = p->next)
- if (!p->isfloating && ISVISIBLE(p))
- r = p;
- return r;
-}
-
-static void
-pushup(const Arg *arg) {
- Client *c;
-
- if (!sel || sel->isfloating)
- return;
- if ((c = prevtiled(sel))) {
- /* attach before c */
- detach(sel);
- sel->next = c;
- if (clients == c)
- clients = sel;
- else {
- for (c = clients; c->next != sel->next; c = c->next);
- c->next = sel;
- }
- } else {
- /* move to the end */
- for (c = sel; c->next; c = c->next);
- detach(sel);
- sel->next = NULL;
- c->next = sel;
- }
- focus(sel);
- arrange();
-}
-
-static void
-pushdown(const Arg *arg) {
- Client *c;
-
- if (!sel || sel->isfloating)
- return;
- if ((c = nexttiled(sel->next))) {
- /* attach after c */
- detach(sel);
- sel->next = c->next;
- c->next = sel;
- } else {
- /* move to the front */
- detach(sel);
- attach(sel);
- }
- focus(sel);
- arrange();
-}
diff --git a/dwm.suckless.org/patches/historical/push-5.6.c b/dwm.suckless.org/patches/historical/push-5.6.c
deleted file mode 100644
index 32b6e65..0000000
--- a/dwm.suckless.org/patches/historical/push-5.6.c
+++ /dev/null
_AT_@ -1,58 +0,0 @@
-static Client *
-prevtiled(Client *c) {
- Client *p, *r;
-
- for(p = selmon->clients, r = NULL; p && p != c; p = p->next)
- if(!p->isfloating && ISVISIBLE(p))
- r = p;
- return r;
-}
-
-static void
-pushup(const Arg *arg) {
- Client *sel = selmon->sel;
- Client *c;
-
- if(!sel || sel->isfloating)
- return;
- if((c = prevtiled(sel))) {
- /* attach before c */
- detach(sel);
- sel->next = c;
- if(selmon->clients == c)
- selmon->clients = sel;
- else {
- for(c = selmon->clients; c->next != sel->next; c = c->next);
- c->next = sel;
- }
- } else {
- /* move to the end */
- for(c = sel; c->next; c = c->next);
- detach(sel);
- sel->next = NULL;
- c->next = sel;
- }
- focus(sel);
- arrange();
-}
-
-static void
-pushdown(const Arg *arg) {
- Client *sel = selmon->sel;
- Client *c;
-
- if(!sel || sel->isfloating)
- return;
- if((c = nexttiled(sel->next))) {
- /* attach after c */
- detach(sel);
- sel->next = c->next;
- c->next = sel;
- } else {
- /* move to the front */
- detach(sel);
- attach(sel);
- }
- focus(sel);
- arrange();
-}
diff --git a/dwm.suckless.org/patches/historical/push-5.7.1.c b/dwm.suckless.org/patches/historical/push-5.7.1.c
deleted file mode 100644
index 493613c..0000000
--- a/dwm.suckless.org/patches/historical/push-5.7.1.c
+++ /dev/null
_AT_@ -1,58 +0,0 @@
-static Client *
-prevtiled(Client *c) {
- Client *p, *r;
-
- for(p = selmon->clients, r = NULL; p && p != c; p = p->next)
- if(!p->isfloating && ISVISIBLE(p))
- r = p;
- return r;
-}
-
-static void
-pushup(const Arg *arg) {
- Client *sel = selmon->sel;
- Client *c;
-
- if(!sel || sel->isfloating)
- return;
- if((c = prevtiled(sel))) {
- /* attach before c */
- detach(sel);
- sel->next = c;
- if(selmon->clients == c)
- selmon->clients = sel;
- else {
- for(c = selmon->clients; c->next != sel->next; c = c->next);
- c->next = sel;
- }
- } else {
- /* move to the end */
- for(c = sel; c->next; c = c->next);
- detach(sel);
- sel->next = NULL;
- c->next = sel;
- }
- focus(sel);
- arrange(selmon);
-}
-
-static void
-pushdown(const Arg *arg) {
- Client *sel = selmon->sel;
- Client *c;
-
- if(!sel || sel->isfloating)
- return;
- if((c = nexttiled(sel->next))) {
- /* attach after c */
- detach(sel);
- sel->next = c->next;
- c->next = sel;
- } else {
- /* move to the front */
- detach(sel);
- attach(sel);
- }
- focus(sel);
- arrange(selmon);
-}
Received on Fri Jan 22 2016 - 18:05:55 CET

This archive was generated by hypermail 2.3.0 : Fri Jan 22 2016 - 18:12:15 CET