sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit 5104664b9845f126791d841641e29b3d41c9c753
parent 6c5dd13aa4a5d3561921f6220f69f20e6b22ffd4
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat,  2 Jul 2016 14:30:11 +0200

dwm: remove merged and a few crap patches

Diffstat:
Ddwm.suckless.org/patches/autostart.md | 15---------------
Ddwm.suckless.org/patches/dwm-6.0-autostart.diff | 32--------------------------------
Ddwm.suckless.org/patches/dwm-6.1-monarg.diff | 30------------------------------
Ddwm.suckless.org/patches/dwm-nofullscreen.diff | 11-----------
Ddwm.suckless.org/patches/monarg.md | 18------------------
Ddwm.suckless.org/patches/nofullscreen.m4 | 19-------------------
6 files changed, 0 insertions(+), 125 deletions(-)

diff --git a/dwm.suckless.org/patches/autostart.md b/dwm.suckless.org/patches/autostart.md @@ -1,15 +0,0 @@ -# autostart # - -## Description ## -This patch will make dwm run "~/.dwm/autostart_blocking.sh" and "~/.dwm/autostart.sh &" (in that order) before entering the handler loop. One or both of these files can be ommited. - -Be aware that dwm will not startup as long as autostart_blocking.sh is running and will stay completely unresponive until its completion. For obvious reasons it is generally a bad idea to start X-applications here :) - -## Download ## -### 6.0 - * [dwm-6.0-autostart.diff](dwm-6.0-autostart.diff) (1kb) (20121220) - * [from github](https://github.com/axelGschaider/dwm-patch-autostart.sh) - -## Author ## - * Axel Gschaider: <axel.gschaider@gmail.com> - diff --git a/dwm.suckless.org/patches/dwm-6.0-autostart.diff b/dwm.suckless.org/patches/dwm-6.0-autostart.diff @@ -1,32 +0,0 @@ -diff -r c794a9f5ae5e dwm.c ---- a/dwm.c Sun Jul 08 09:45:53 2012 +0200 -+++ b/dwm.c Tue Oct 02 16:26:04 2012 +0200 -@@ -213,6 +213,7 @@ - static void resizemouse(const Arg *arg); - static void restack(Monitor *m); - static void run(void); -+static void runAutostart(void); - static void scan(void); - static Bool sendevent(Client *c, Atom proto); - static void sendmon(Client *c, Monitor *m); -@@ -1460,6 +1461,12 @@ - } - - void -+runAutostart(void) { -+ system("cd ~/.dwm; ./autostart_blocking.sh"); -+ system("cd ~/.dwm; ./autostart.sh &"); -+} -+ -+void - scan(void) { - unsigned int i, num; - Window d1, d2, *wins = NULL; -@@ -2178,6 +2185,7 @@ - checkotherwm(); - setup(); - scan(); -+ runAutostart(); - run(); - cleanup(); - XCloseDisplay(dpy); diff --git a/dwm.suckless.org/patches/dwm-6.1-monarg.diff b/dwm.suckless.org/patches/dwm-6.1-monarg.diff @@ -1,30 +0,0 @@ -diff --git a/dwm.c b/dwm.c -index d9443da..28528ed 100644 ---- a/dwm.c -+++ b/dwm.c -@@ -176,6 +176,7 @@ static void destroynotify(XEvent *e); - static void detach(Client *c); - static void detachstack(Client *c); - static Monitor *dirtomon(int dir); -+static void dmenuspawn(const Arg *arg); - static void drawbar(Monitor *m); - static void drawbars(void); - static void drawsquare(Bool filled, Bool empty, Bool invert, unsigned long col[ColLast]); -@@ -709,6 +710,17 @@ dirtomon(int dir) { - } - - void -+dmenuspawn(const Arg *arg) { -+ char monstr[2] = "0"; -+ const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-m", monstr, "-nb", -+ normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", -+ selfgcolor, NULL }; -+ Arg a = { .v = dmenucmd }; -+ monstr[0] = '0' + selmon->num; -+ spawn(&a); -+} -+ -+void - drawbar(Monitor *m) { - int x; - unsigned int i, occ = 0, urg = 0; diff --git a/dwm.suckless.org/patches/dwm-nofullscreen.diff b/dwm.suckless.org/patches/dwm-nofullscreen.diff @@ -1,11 +0,0 @@ ---- dwm.c 2014-03-05 21:51:42.716156981 +0100 -+++ dwm.c-nofullscreen 2014-03-05 21:52:45.598560519 +0100 -@@ -1441,7 +1441,7 @@ setfullscreen(Client *c, Bool fullscreen - c->oldstate = c->isfloating; - c->oldbw = c->bw; - c->bw = 0; -- c->isfloating = True; -+ //c->isfloating = True; - resizeclient(c, c->mon->mx, c->mon->my, c->mon->mw, c->mon->mh); - XRaiseWindow(dpy, c->win); - } diff --git a/dwm.suckless.org/patches/monarg.md b/dwm.suckless.org/patches/monarg.md @@ -1,18 +0,0 @@ -Monitor by Argument for dmenu -============================= - -Description ------------ - -Since dmenu was made to accept additional command line argument with -[dmenu-4.5-monarg.diff](http://tools.suckless.org/dmenu/patches/monarg) to -specify the monitor where dmenu is to be started. Works well with my monarg -patch for dwm. - -Download --------- -* [dwm-6.1-monarg.diff](dwm-6.1-monarg.diff) - -Author ------- -* mar77i <mysatyre at gmail dot com> diff --git a/dwm.suckless.org/patches/nofullscreen.m4 b/dwm.suckless.org/patches/nofullscreen.m4 @@ -1,19 +0,0 @@ -nofullscreen -============ - -Description ------------ - -Prevent clients becoming floaters when going into fullscreen, -to keep them more manageable by dwm; useful if you work mainly -in monocle layout and don't want to lose control. - -Download --------- - -* [dwm-nofullscreen.diff](dwm-nofullscreen.diff) (389b) (20140305) - -Author ------- - -* Michael Hauser - aware water @ gmail