diff --git a/config.def.h b/config.def.h index 910a46e..9b946c7 100644 --- a/config.def.h +++ b/config.def.h @@ -1607,3 +1607,4 @@ static IPCCommand ipccommands[] = { #endif // XRDB_PATCH }; #endif // IPC_PATCH + diff --git a/drw.c b/drw.c index da9101a..0fc9f05 100644 --- a/drw.c +++ b/drw.c @@ -687,3 +687,4 @@ drw_cur_free(Drw *drw, Cur *cursor) XFreeCursor(drw->dpy, cursor->cursor); free(cursor); } + diff --git a/drw.h b/drw.h index f4eac03..42dad5a 100644 --- a/drw.h +++ b/drw.h @@ -100,3 +100,4 @@ void drw_arrow(Drw *drw, int x, int y, unsigned int w, unsigned int h, int direc /* Map functions */ void drw_map(Drw *drw, Window win, int x, int y, unsigned int w, unsigned int h); + diff --git a/dwm.c b/dwm.c index f585ce4..51a8d82 100644 --- a/dwm.c +++ b/dwm.c @@ -4892,3 +4892,4 @@ main(int argc, char *argv[]) XCloseDisplay(dpy); return EXIT_SUCCESS; } + diff --git a/patch/aspectresize.c b/patch/aspectresize.c index 73a0342..cdd5afd 100644 --- a/patch/aspectresize.c +++ b/patch/aspectresize.c @@ -21,4 +21,5 @@ aspectresize(const Arg *arg) XRaiseWindow(dpy, c->win); resize(c, c->x, c->y, nw, nh, True); -} \ No newline at end of file +} + diff --git a/patch/aspectresize.h b/patch/aspectresize.h index ad0d054..4ac7cbb 100644 --- a/patch/aspectresize.h +++ b/patch/aspectresize.h @@ -1 +1,2 @@ -static void aspectresize(const Arg *arg); \ No newline at end of file +static void aspectresize(const Arg *arg); + diff --git a/patch/attachx.c b/patch/attachx.c index a9b99b6..9e06b94 100644 --- a/patch/attachx.c +++ b/patch/attachx.c @@ -40,3 +40,4 @@ attachx(Client *c) #endif attach(c); // master (default) } + diff --git a/patch/attachx.h b/patch/attachx.h index 46a8c39..e522d27 100644 --- a/patch/attachx.h +++ b/patch/attachx.h @@ -1 +1,2 @@ -static void attachx(Client *c); \ No newline at end of file +static void attachx(Client *c); + diff --git a/patch/autostart.c b/patch/autostart.c index b829c59..03477bb 100644 --- a/patch/autostart.c +++ b/patch/autostart.c @@ -80,4 +80,5 @@ runautostart(void) free(pathpfx); free(path); } -} \ No newline at end of file +} + diff --git a/patch/autostart.h b/patch/autostart.h index 299eaef..db29377 100644 --- a/patch/autostart.h +++ b/patch/autostart.h @@ -1 +1,2 @@ -static void runautostart(void); \ No newline at end of file +static void runautostart(void); + diff --git a/patch/bar_alpha.c b/patch/bar_alpha.c index d86bc1d..465f6f2 100644 --- a/patch/bar_alpha.c +++ b/patch/bar_alpha.c @@ -40,3 +40,4 @@ xinitvisual() cmap = DefaultColormap(dpy, screen); } } + diff --git a/patch/bar_alpha.h b/patch/bar_alpha.h index 3c81522..1c2a012 100644 --- a/patch/bar_alpha.h +++ b/patch/bar_alpha.h @@ -1,3 +1,4 @@ #define OPAQUE 0xffU static void xinitvisual(); + diff --git a/patch/bar_alternativetags.c b/patch/bar_alternativetags.c index 3c329bc..bc800f2 100644 --- a/patch/bar_alternativetags.c +++ b/patch/bar_alternativetags.c @@ -3,4 +3,5 @@ togglealttag() { selmon->alttag = !selmon->alttag; drawbar(selmon); -} \ No newline at end of file +} + diff --git a/patch/bar_alternativetags.h b/patch/bar_alternativetags.h index 2c130f3..0f7a25a 100644 --- a/patch/bar_alternativetags.h +++ b/patch/bar_alternativetags.h @@ -1 +1,2 @@ -static void togglealttag(); \ No newline at end of file +static void togglealttag(); + diff --git a/patch/bar_anybar.c b/patch/bar_anybar.c index 05546e3..d9bdb27 100644 --- a/patch/bar_anybar.c +++ b/patch/bar_anybar.c @@ -90,4 +90,5 @@ wmclasscontains(Window win, const char *class, const char *name) XFree(ch.res_name); return res; -} \ No newline at end of file +} + diff --git a/patch/bar_anybar.h b/patch/bar_anybar.h index 99f439a..980f5e2 100644 --- a/patch/bar_anybar.h +++ b/patch/bar_anybar.h @@ -1,4 +1,5 @@ static void managealtbar(Window win, XWindowAttributes *wa); static void spawnbar(); static void unmanagealtbar(Window w); -static int wmclasscontains(Window win, const char *class, const char *name); \ No newline at end of file +static int wmclasscontains(Window win, const char *class, const char *name); + diff --git a/patch/bar_awesomebar.c b/patch/bar_awesomebar.c index ecfa3d2..9e6bc97 100644 --- a/patch/bar_awesomebar.c +++ b/patch/bar_awesomebar.c @@ -79,3 +79,4 @@ click_awesomebar(Bar *bar, Arg *arg, BarArg *a) } return -1; } + diff --git a/patch/bar_awesomebar.h b/patch/bar_awesomebar.h index 25bd98f..5ea51f6 100644 --- a/patch/bar_awesomebar.h +++ b/patch/bar_awesomebar.h @@ -1,3 +1,4 @@ static int width_awesomebar(Bar *bar, BarArg *a); static int draw_awesomebar(Bar *bar, BarArg *a); -static int click_awesomebar(Bar *bar, Arg *arg, BarArg *a); \ No newline at end of file +static int click_awesomebar(Bar *bar, Arg *arg, BarArg *a); + diff --git a/patch/bar_dwmblocks.c b/patch/bar_dwmblocks.c index cb40d10..25268c5 100644 --- a/patch/bar_dwmblocks.c +++ b/patch/bar_dwmblocks.c @@ -47,4 +47,5 @@ sigstatusbar(const Arg *arg) sv.sival_int = arg->i; sigqueue(statuspid, SIGRTMIN+statussig, sv); #endif // BAR_DWMBLOCKS_SIGUSR1_PATCH -} \ No newline at end of file +} + diff --git a/patch/bar_dwmblocks.h b/patch/bar_dwmblocks.h index 07ac9b3..4db9467 100644 --- a/patch/bar_dwmblocks.h +++ b/patch/bar_dwmblocks.h @@ -1,2 +1,3 @@ static int getstatusbarpid(); -static void sigstatusbar(const Arg *arg); \ No newline at end of file +static void sigstatusbar(const Arg *arg); + diff --git a/patch/bar_ewmhtags.c b/patch/bar_ewmhtags.c index 99774c9..d86fd88 100644 --- a/patch/bar_ewmhtags.c +++ b/patch/bar_ewmhtags.c @@ -49,4 +49,5 @@ updatecurrentdesktop(void) } long data[] = { i }; XChangeProperty(dpy, root, netatom[NetCurrentDesktop], XA_CARDINAL, 32, PropModeReplace, (unsigned char *)data, 1); -} \ No newline at end of file +} + diff --git a/patch/bar_ewmhtags.h b/patch/bar_ewmhtags.h index 959ab75..4d6a74b 100644 --- a/patch/bar_ewmhtags.h +++ b/patch/bar_ewmhtags.h @@ -3,4 +3,5 @@ static void setdesktopnames(void); static void setfloatinghint(Client *c); static void setnumdesktops(void); static void setviewport(void); -static void updatecurrentdesktop(void); \ No newline at end of file +static void updatecurrentdesktop(void); + diff --git a/patch/bar_fancybar.c b/patch/bar_fancybar.c index 0222ca7..3017161 100644 --- a/patch/bar_fancybar.c +++ b/patch/bar_fancybar.c @@ -67,4 +67,3 @@ click_fancybar(Bar *bar, Arg *arg, BarArg *a) return ClkWinTitle; } - diff --git a/patch/bar_fancybar.h b/patch/bar_fancybar.h index b4f8174..473cca3 100644 --- a/patch/bar_fancybar.h +++ b/patch/bar_fancybar.h @@ -1,3 +1,4 @@ static int width_fancybar(Bar *bar, BarArg *a); static int draw_fancybar(Bar *bar, BarArg *a); -static int click_fancybar(Bar *bar, Arg *arg, BarArg *a); \ No newline at end of file +static int click_fancybar(Bar *bar, Arg *arg, BarArg *a); + diff --git a/patch/bar_flexwintitle.c b/patch/bar_flexwintitle.c index 15d6241..8d650e1 100644 --- a/patch/bar_flexwintitle.c +++ b/patch/bar_flexwintitle.c @@ -435,4 +435,5 @@ flextitlecalculate( c = flextitledrawarea(m, m->clients, flt_x, rr, w * FLEXWINTITLE_FLOATWEIGHT + rw, clientsnfloating, SCHEMEFOR(GRP_FLOAT), 0, 0, 1, passx, tabfn, arg, barg); // floating } return 1; -} \ No newline at end of file +} + diff --git a/patch/bar_flexwintitle.h b/patch/bar_flexwintitle.h index 6183c8e..f4c6612 100644 --- a/patch/bar_flexwintitle.h +++ b/patch/bar_flexwintitle.h @@ -7,4 +7,5 @@ static void flextitleclick(Monitor *m, Client *c, int passx, int x, int w, int u static int flextitlecalculate(Monitor *m, int offx, int w, int passx, void(*tabfn)(Monitor *, Client *, int, int, int, int, Arg *arg, BarArg *barg), Arg *arg, BarArg *barg); static int getschemefor(Monitor *m, int group, int activegroup); static int getselschemefor(int scheme); -static Client *flextitledrawarea(Monitor *m, Client *c, int x, int r, int w, int max_clients, int tabscheme, int draw_tiled, int draw_hidden, int draw_floating, int passx, void(*tabfn)(Monitor *, Client *, int, int, int, int, Arg *arg, BarArg *barg), Arg *arg, BarArg *barg); \ No newline at end of file +static Client *flextitledrawarea(Monitor *m, Client *c, int x, int r, int w, int max_clients, int tabscheme, int draw_tiled, int draw_hidden, int draw_floating, int passx, void(*tabfn)(Monitor *, Client *, int, int, int, int, Arg *arg, BarArg *barg), Arg *arg, BarArg *barg); + diff --git a/patch/bar_holdbar.c b/patch/bar_holdbar.c index 358cbec..1e00dc8 100644 --- a/patch/bar_holdbar.c +++ b/patch/bar_holdbar.c @@ -34,4 +34,5 @@ keyrelease(XEvent *e) #if COMBO_PATCH combo = 0; #endif // COMBO_PATCH -} \ No newline at end of file +} + diff --git a/patch/bar_holdbar.h b/patch/bar_holdbar.h index 5394425..bcde089 100644 --- a/patch/bar_holdbar.h +++ b/patch/bar_holdbar.h @@ -1,2 +1,3 @@ static void keyrelease(XEvent *e); -static void holdbar(const Arg *arg); \ No newline at end of file +static void holdbar(const Arg *arg); + diff --git a/patch/bar_indicators.c b/patch/bar_indicators.c index 91e0a5b..62326bc 100644 --- a/patch/bar_indicators.c +++ b/patch/bar_indicators.c @@ -107,4 +107,5 @@ drawstateindicator(Monitor *m, Client *c, unsigned int occ, int x, int y, int w, drawindicator(m, c, occ, x, y, w, h, tag, filled, invert, floatindicatortype); else drawindicator(m, c, occ, x, y, w, h, tag, filled, invert, tiledindicatortype); -} \ No newline at end of file +} + diff --git a/patch/bar_indicators.h b/patch/bar_indicators.h index d015101..c66e4f0 100644 --- a/patch/bar_indicators.h +++ b/patch/bar_indicators.h @@ -17,4 +17,5 @@ enum { }; static void drawindicator(Monitor *m, Client *c, unsigned int occ, int x, int y, int w, int h, unsigned int tag, int filled, int invert, int type); -static void drawstateindicator(Monitor *m, Client *c, unsigned int occ, int x, int y, int w, int h, unsigned int tag, int filled, int invert); \ No newline at end of file +static void drawstateindicator(Monitor *m, Client *c, unsigned int occ, int x, int y, int w, int h, unsigned int tag, int filled, int invert); + diff --git a/patch/bar_layoutmenu.h b/patch/bar_layoutmenu.h index 4c23763..d05455c 100644 --- a/patch/bar_layoutmenu.h +++ b/patch/bar_layoutmenu.h @@ -1 +1,2 @@ static void layoutmenu(const Arg *arg); + diff --git a/patch/bar_ltsymbol.c b/patch/bar_ltsymbol.c index 4c861f8..1fbd1b8 100644 --- a/patch/bar_ltsymbol.c +++ b/patch/bar_ltsymbol.c @@ -14,4 +14,5 @@ int click_ltsymbol(Bar *bar, Arg *arg, BarArg *a) { return ClkLtSymbol; -} \ No newline at end of file +} + diff --git a/patch/bar_ltsymbol.h b/patch/bar_ltsymbol.h index 4188584..4de5720 100644 --- a/patch/bar_ltsymbol.h +++ b/patch/bar_ltsymbol.h @@ -1,3 +1,4 @@ static int width_ltsymbol(Bar *bar, BarArg *a); static int draw_ltsymbol(Bar *bar, BarArg *a); static int click_ltsymbol(Bar *bar, Arg *arg, BarArg *a); + diff --git a/patch/bar_powerline_status.c b/patch/bar_powerline_status.c index 2f95570..a09487f 100644 --- a/patch/bar_powerline_status.c +++ b/patch/bar_powerline_status.c @@ -118,4 +118,5 @@ drawpowerlinestatus(int xpos, char *stext, BarArg *barg) } return xpos - x; -} \ No newline at end of file +} + diff --git a/patch/bar_powerline_status.h b/patch/bar_powerline_status.h index 1eb6824..46b78e0 100644 --- a/patch/bar_powerline_status.h +++ b/patch/bar_powerline_status.h @@ -8,4 +8,5 @@ static int draw_pwrl_status_es(Bar *bar, BarArg *a); #endif // BAR_EXTRASTATUS_PATCH static int click_pwrl_status(Bar *bar, Arg *arg, BarArg *a); static int drawpowerlinestatus(int x, char *stext, BarArg *a); -static int widthpowerlinestatus(char *stext); \ No newline at end of file +static int widthpowerlinestatus(char *stext); + diff --git a/patch/bar_powerline_tags.c b/patch/bar_powerline_tags.c index 7806725..d5ad787 100644 --- a/patch/bar_powerline_tags.c +++ b/patch/bar_powerline_tags.c @@ -104,3 +104,4 @@ click_pwrl_tags(Bar *bar, Arg *arg, BarArg *a) } return ClkTagBar; } + diff --git a/patch/bar_powerline_tags.h b/patch/bar_powerline_tags.h index f942ff1..a51dcc7 100644 --- a/patch/bar_powerline_tags.h +++ b/patch/bar_powerline_tags.h @@ -1,3 +1,4 @@ static int width_pwrl_tags(Bar *bar, BarArg *a); static int draw_pwrl_tags(Bar *bar, BarArg *a); -static int click_pwrl_tags(Bar *bar, Arg *arg, BarArg *a); \ No newline at end of file +static int click_pwrl_tags(Bar *bar, Arg *arg, BarArg *a); + diff --git a/patch/bar_status.c b/patch/bar_status.c index d37424d..715b6d2 100644 --- a/patch/bar_status.c +++ b/patch/bar_status.c @@ -31,3 +31,4 @@ click_status(Bar *bar, Arg *arg, BarArg *a) { return ClkStatusText; } + diff --git a/patch/bar_status.h b/patch/bar_status.h index e6d8ab0..4bf5e58 100644 --- a/patch/bar_status.h +++ b/patch/bar_status.h @@ -6,4 +6,5 @@ static int draw_status(Bar *bar, BarArg *a); #if BAR_EXTRASTATUS_PATCH static int draw_status_es(Bar *bar, BarArg *a); #endif // BAR_EXTRASTATUS_PATCH -static int click_status(Bar *bar, Arg *arg, BarArg *a); \ No newline at end of file +static int click_status(Bar *bar, Arg *arg, BarArg *a); + diff --git a/patch/bar_status2d.c b/patch/bar_status2d.c index 7784ac4..860fd83 100644 --- a/patch/bar_status2d.c +++ b/patch/bar_status2d.c @@ -264,4 +264,5 @@ status2dtextlength(char* stext) w += TEXTWM(text) - lrpad; free(p); return w; -} \ No newline at end of file +} + diff --git a/patch/bar_status2d.h b/patch/bar_status2d.h index 868a568..8e088fb 100644 --- a/patch/bar_status2d.h +++ b/patch/bar_status2d.h @@ -10,4 +10,5 @@ static int draw_status2d_es(Bar *bar, BarArg *a); static int click_status2d(Bar *bar, Arg *arg, BarArg *a); #endif // BAR_STATUSCMD_PATCH static int drawstatusbar(BarArg *a, char *text); -static int status2dtextlength(char *stext); \ No newline at end of file +static int status2dtextlength(char *stext); + diff --git a/patch/bar_statusbutton.c b/patch/bar_statusbutton.c index 7f52af4..5e43fe0 100644 --- a/patch/bar_statusbutton.c +++ b/patch/bar_statusbutton.c @@ -15,3 +15,4 @@ click_stbutton(Bar *bar, Arg *arg, BarArg *a) { return ClkButton; } + diff --git a/patch/bar_statusbutton.h b/patch/bar_statusbutton.h index 68ae839..ed5beb5 100644 --- a/patch/bar_statusbutton.h +++ b/patch/bar_statusbutton.h @@ -1,3 +1,4 @@ static int width_stbutton(Bar *bar, BarArg *a); static int draw_stbutton(Bar *bar, BarArg *a); -static int click_stbutton(Bar *bar, Arg *arg, BarArg *a); \ No newline at end of file +static int click_stbutton(Bar *bar, Arg *arg, BarArg *a); + diff --git a/patch/bar_statuscmd.c b/patch/bar_statuscmd.c index c0ea860..5b26932 100644 --- a/patch/bar_statuscmd.c +++ b/patch/bar_statuscmd.c @@ -72,3 +72,4 @@ copyvalidchars(char *text, char *rawtext) } text[j] = '\0'; } + diff --git a/patch/bar_statuscmd.h b/patch/bar_statuscmd.h index cd92deb..a4c4d24 100644 --- a/patch/bar_statuscmd.h +++ b/patch/bar_statuscmd.h @@ -8,4 +8,5 @@ static void copyvalidchars(char *text, char *rawtext); typedef struct { const char *cmd; int id; -} StatusCmd; \ No newline at end of file +} StatusCmd; + diff --git a/patch/bar_statuscolors.c b/patch/bar_statuscolors.c index a443056..4ade4df 100644 --- a/patch/bar_statuscolors.c +++ b/patch/bar_statuscolors.c @@ -20,4 +20,5 @@ textw_wosc(char *s) } return sw; -} \ No newline at end of file +} + diff --git a/patch/bar_systray.c b/patch/bar_systray.c index b20b45e..67d1d2d 100644 --- a/patch/bar_systray.c +++ b/patch/bar_systray.c @@ -194,4 +194,5 @@ wintosystrayicon(Window w) return i; for (i = systray->icons; i && i->win != w; i = i->next); return i; -} \ No newline at end of file +} + diff --git a/patch/bar_systray.h b/patch/bar_systray.h index 851b3ec..a64b971 100644 --- a/patch/bar_systray.h +++ b/patch/bar_systray.h @@ -39,3 +39,4 @@ static void updatesystrayicongeom(Client *i, int w, int h); static void updatesystrayiconstate(Client *i, XPropertyEvent *ev); static Client *wintosystrayicon(Window w); + diff --git a/patch/bar_tabgroups.c b/patch/bar_tabgroups.c index af1ae76..91e1393 100644 --- a/patch/bar_tabgroups.c +++ b/patch/bar_tabgroups.c @@ -220,4 +220,5 @@ bartabcalculate( #endif // BARTAB_FLOATWEIGHT } return 1; -} \ No newline at end of file +} + diff --git a/patch/bar_tabgroups.h b/patch/bar_tabgroups.h index e118c0d..75a8512 100644 --- a/patch/bar_tabgroups.h +++ b/patch/bar_tabgroups.h @@ -4,4 +4,5 @@ static int click_bartabgroups(Bar *bar, Arg *arg, BarArg *a); static void bartabdraw(Monitor *m, Client *c, int unused, int x, int w, int groupactive, Arg *arg, BarArg *barg); static void bartabclick(Monitor *m, Client *c, int passx, int x, int w, int unused, Arg *arg, BarArg *barg); -static int bartabcalculate(Monitor *m, int offx, int w, int passx, void(*tabfn)(Monitor *, Client *, int, int, int, int, Arg *arg, BarArg *barg), Arg *arg, BarArg *barg); \ No newline at end of file +static int bartabcalculate(Monitor *m, int offx, int w, int passx, void(*tabfn)(Monitor *, Client *, int, int, int, int, Arg *arg, BarArg *barg), Arg *arg, BarArg *barg); + diff --git a/patch/bar_taggrid.c b/patch/bar_taggrid.c index 387f25b..675c8de 100644 --- a/patch/bar_taggrid.c +++ b/patch/bar_taggrid.c @@ -146,4 +146,5 @@ switchtag(const Arg *arg) if (arg->ui & SWITCHTAG_TOGGLEVIEW) { toggleview (&new_arg); } -} \ No newline at end of file +} + diff --git a/patch/bar_taggrid.h b/patch/bar_taggrid.h index e0c824e..dfc60de 100644 --- a/patch/bar_taggrid.h +++ b/patch/bar_taggrid.h @@ -1,4 +1,5 @@ static int width_taggrid(Bar *bar, BarArg *a); static int draw_taggrid(Bar *bar, BarArg *a); static int click_taggrid(Bar *bar, Arg *arg, BarArg *a); -static void switchtag(const Arg *arg); \ No newline at end of file +static void switchtag(const Arg *arg); + diff --git a/patch/bar_tagicons.c b/patch/bar_tagicons.c index d472407..235a6e2 100644 --- a/patch/bar_tagicons.c +++ b/patch/bar_tagicons.c @@ -17,4 +17,5 @@ tagicon(Monitor *m, int tag) return tagicons[ALTERNATIVE_TAGS][tagindex]; #endif // BAR_ALTERNATIVE_TAGS_PATCH return tagicons[DEFAULT_TAGS][tagindex]; -} \ No newline at end of file +} + diff --git a/patch/bar_tagicons.h b/patch/bar_tagicons.h index be5d35c..16fad2a 100644 --- a/patch/bar_tagicons.h +++ b/patch/bar_tagicons.h @@ -4,4 +4,5 @@ enum { ALT_TAGS_DECORATION, }; -static char * tagicon(Monitor *m, int tag); \ No newline at end of file +static char * tagicon(Monitor *m, int tag); + diff --git a/patch/bar_tags.c b/patch/bar_tags.c index df83144..c00818d 100644 --- a/patch/bar_tags.c +++ b/patch/bar_tags.c @@ -86,3 +86,4 @@ click_tags(Bar *bar, Arg *arg, BarArg *a) } return ClkTagBar; } + diff --git a/patch/bar_tags.h b/patch/bar_tags.h index 9ab784b..9261261 100644 --- a/patch/bar_tags.h +++ b/patch/bar_tags.h @@ -1,3 +1,4 @@ static int width_tags(Bar *bar, BarArg *a); static int draw_tags(Bar *bar, BarArg *a); -static int click_tags(Bar *bar, Arg *arg, BarArg *a); \ No newline at end of file +static int click_tags(Bar *bar, Arg *arg, BarArg *a); + diff --git a/patch/bar_vtcolors.c b/patch/bar_vtcolors.c index 2002985..7c66e2d 100644 --- a/patch/bar_vtcolors.c +++ b/patch/bar_vtcolors.c @@ -65,4 +65,5 @@ int get_luminance(char *r) } return (0.299 * n[0] + 0.587 * n[1] + 0.114 * n[2]) / 2.55; -} \ No newline at end of file +} + diff --git a/patch/bar_vtcolors.h b/patch/bar_vtcolors.h index 7341e6a..8c5d6c1 100644 --- a/patch/bar_vtcolors.h +++ b/patch/bar_vtcolors.h @@ -1,2 +1,3 @@ static void get_vt_colors(void); -static int get_luminance(char *rgb); \ No newline at end of file +static int get_luminance(char *rgb); + diff --git a/patch/bar_wintitle.c b/patch/bar_wintitle.c index 1e9fb77..d3b5258 100644 --- a/patch/bar_wintitle.c +++ b/patch/bar_wintitle.c @@ -48,4 +48,3 @@ click_wintitle(Bar *bar, Arg *arg, BarArg *a) return ClkWinTitle; } - diff --git a/patch/bar_wintitle.h b/patch/bar_wintitle.h index 349f948..7e8cce5 100644 --- a/patch/bar_wintitle.h +++ b/patch/bar_wintitle.h @@ -1,3 +1,4 @@ static int width_wintitle(Bar *bar, BarArg *a); static int draw_wintitle(Bar *bar, BarArg *a); -static int click_wintitle(Bar *bar, Arg *arg, BarArg *a); \ No newline at end of file +static int click_wintitle(Bar *bar, Arg *arg, BarArg *a); + diff --git a/patch/bar_wintitle_floating.c b/patch/bar_wintitle_floating.c index 001486b..3a15b8e 100644 --- a/patch/bar_wintitle_floating.c +++ b/patch/bar_wintitle_floating.c @@ -42,4 +42,5 @@ calc_wintitle_floating( r = tabw % clientsnfloating; c = flextitledrawarea(m, m->clients, offx, r, w, clientsnfloating, SCHEMEFOR(GRP_FLOAT), 0, 0, 1, passx, tabfn, arg, barg); return 1; -} \ No newline at end of file +} + diff --git a/patch/bar_wintitle_floating.h b/patch/bar_wintitle_floating.h index d04569c..e73d53a 100644 --- a/patch/bar_wintitle_floating.h +++ b/patch/bar_wintitle_floating.h @@ -5,4 +5,5 @@ static int calc_wintitle_floating( Monitor *m, int offx, int tabw, int passx, void(*tabfn)(Monitor *, Client *, int, int, int, int, Arg *arg, BarArg *barg), Arg *arg, BarArg *barg -); \ No newline at end of file +); + diff --git a/patch/bar_wintitle_hidden.c b/patch/bar_wintitle_hidden.c index 1fa12bc..2d2414c 100644 --- a/patch/bar_wintitle_hidden.c +++ b/patch/bar_wintitle_hidden.c @@ -42,4 +42,5 @@ calc_wintitle_hidden( r = tabw % clientsnhidden; c = flextitledrawarea(m, m->clients, offx, r, w, clientsnhidden, SCHEMEFOR(GRP_HIDDEN), 0, 1, 0, passx, tabfn, arg, barg); return 1; -} \ No newline at end of file +} + diff --git a/patch/bar_wintitle_hidden.h b/patch/bar_wintitle_hidden.h index e757391..0495d49 100644 --- a/patch/bar_wintitle_hidden.h +++ b/patch/bar_wintitle_hidden.h @@ -5,4 +5,5 @@ static int calc_wintitle_hidden( Monitor *m, int offx, int tabw, int passx, void(*tabfn)(Monitor *, Client *, int, int, int, int, Arg *arg, BarArg *barg), Arg *arg, BarArg *barg -); \ No newline at end of file +); + diff --git a/patch/bar_wintitleactions.c b/patch/bar_wintitleactions.c index e94fe06..61a5d21 100644 --- a/patch/bar_wintitleactions.c +++ b/patch/bar_wintitleactions.c @@ -90,4 +90,5 @@ showhideclient(const Arg *arg) } else { hide(c); } -} \ No newline at end of file +} + diff --git a/patch/bar_wintitleactions.h b/patch/bar_wintitleactions.h index 67a9d79..0c8d5f0 100644 --- a/patch/bar_wintitleactions.h +++ b/patch/bar_wintitleactions.h @@ -2,4 +2,5 @@ static void hide(Client *c); static void show(Client *c); static void togglewin(const Arg *arg); static Client * prevtiled(Client *c); -static void showhideclient(const Arg *arg); \ No newline at end of file +static void showhideclient(const Arg *arg); + diff --git a/patch/cfacts.c b/patch/cfacts.c index ece210f..e491a41 100644 --- a/patch/cfacts.c +++ b/patch/cfacts.c @@ -20,4 +20,5 @@ setcfact(const Arg *arg) f = 4.0; c->cfact = f; arrange(selmon); -} \ No newline at end of file +} + diff --git a/patch/cfacts.h b/patch/cfacts.h index b8d8b04..97f9f1c 100644 --- a/patch/cfacts.h +++ b/patch/cfacts.h @@ -1 +1,2 @@ -static void setcfact(const Arg *arg); \ No newline at end of file +static void setcfact(const Arg *arg); + diff --git a/patch/cmdcustomize.c b/patch/cmdcustomize.c index 1e62d20..9769660 100644 --- a/patch/cmdcustomize.c +++ b/patch/cmdcustomize.c @@ -2,4 +2,5 @@ char* help(void) { return "usage: dwm [-hv] [-fn font] [-nb color] [-nf color] [-sb color] [-sf color]\n[-df font] [-dnf color] [-dnb color] [-dsf color] [-dsb color]\n"; -} \ No newline at end of file +} + diff --git a/patch/cmdcustomize.h b/patch/cmdcustomize.h index 280f5b8..46b75cf 100644 --- a/patch/cmdcustomize.h +++ b/patch/cmdcustomize.h @@ -1 +1,2 @@ -static char* help(); \ No newline at end of file +static char* help(); + diff --git a/patch/combo.c b/patch/combo.c index 43f7e5d..058b1f9 100644 --- a/patch/combo.c +++ b/patch/combo.c @@ -46,4 +46,5 @@ comboview(const Arg *arg) } focus(NULL); arrange(selmon); -} \ No newline at end of file +} + diff --git a/patch/combo.h b/patch/combo.h index 752f636..0c42136 100644 --- a/patch/combo.h +++ b/patch/combo.h @@ -2,4 +2,5 @@ static void keyrelease(XEvent *e); #endif // !BAR_HOLDBAR_PATCH static void combotag(const Arg *arg); -static void comboview(const Arg *arg); \ No newline at end of file +static void comboview(const Arg *arg); + diff --git a/patch/cool_autostart.c b/patch/cool_autostart.c index 2bc3c3b..ffd4ba3 100644 --- a/patch/cool_autostart.c +++ b/patch/cool_autostart.c @@ -25,4 +25,5 @@ autostart_exec() /* skip arguments */ while (*++p); } -} \ No newline at end of file +} + diff --git a/patch/cool_autostart.h b/patch/cool_autostart.h index 8dc0d19..5534d99 100644 --- a/patch/cool_autostart.h +++ b/patch/cool_autostart.h @@ -1 +1,2 @@ -static void autostart_exec(void); \ No newline at end of file +static void autostart_exec(void); + diff --git a/patch/cyclelayouts.c b/patch/cyclelayouts.c index bd33bfe..81339bc 100644 --- a/patch/cyclelayouts.c +++ b/patch/cyclelayouts.c @@ -15,3 +15,4 @@ cyclelayout(const Arg *arg) setlayout(&((Arg) { .v = &layouts[LENGTH(layouts) - 2] })); } } + diff --git a/patch/cyclelayouts.h b/patch/cyclelayouts.h index 02c5f9d..3647d88 100644 --- a/patch/cyclelayouts.h +++ b/patch/cyclelayouts.h @@ -1 +1,2 @@ -static void cyclelayout(const Arg *arg); \ No newline at end of file +static void cyclelayout(const Arg *arg); + diff --git a/patch/decorationhints.c b/patch/decorationhints.c index 6636998..78be5ea 100644 --- a/patch/decorationhints.c +++ b/patch/decorationhints.c @@ -35,4 +35,5 @@ updatemotifhints(Client *c) } XFree(p); } -} \ No newline at end of file +} + diff --git a/patch/decorationhints.h b/patch/decorationhints.h index 3a9c641..e28f507 100644 --- a/patch/decorationhints.h +++ b/patch/decorationhints.h @@ -5,4 +5,5 @@ #define MWM_DECOR_BORDER (1 << 1) #define MWM_DECOR_TITLE (1 << 3) -static void updatemotifhints(Client *c); \ No newline at end of file +static void updatemotifhints(Client *c); + diff --git a/patch/distributetags.c b/patch/distributetags.c index 252eb8f..284b24c 100644 --- a/patch/distributetags.c +++ b/patch/distributetags.c @@ -13,4 +13,5 @@ distributetags(const Arg *arg) } focus(NULL); arrange(selmon); -} \ No newline at end of file +} + diff --git a/patch/distributetags.h b/patch/distributetags.h index 5221050..3b276d9 100644 --- a/patch/distributetags.h +++ b/patch/distributetags.h @@ -1 +1,2 @@ -static void distributetags(const Arg *arg); \ No newline at end of file +static void distributetags(const Arg *arg); + diff --git a/patch/dragcfact.c b/patch/dragcfact.c index fce5c92..1b14513 100644 --- a/patch/dragcfact.c +++ b/patch/dragcfact.c @@ -79,4 +79,5 @@ dragcfact(const Arg *arg) XUngrabPointer(dpy, CurrentTime); while (XCheckMaskEvent(dpy, EnterWindowMask, &ev)); -} \ No newline at end of file +} + diff --git a/patch/dragcfact.h b/patch/dragcfact.h index 6cf6b9c..6a29783 100644 --- a/patch/dragcfact.h +++ b/patch/dragcfact.h @@ -1 +1,2 @@ -static void dragcfact(const Arg *arg); \ No newline at end of file +static void dragcfact(const Arg *arg); + diff --git a/patch/dragmfact.c b/patch/dragmfact.c index 257b5c1..ee0ed9c 100644 --- a/patch/dragmfact.c +++ b/patch/dragmfact.c @@ -228,4 +228,5 @@ dragmfact(const Arg *arg) XUngrabPointer(dpy, CurrentTime); while (XCheckMaskEvent(dpy, EnterWindowMask, &ev)); -} \ No newline at end of file +} + diff --git a/patch/dragmfact.h b/patch/dragmfact.h index 6390b71..a67432a 100644 --- a/patch/dragmfact.h +++ b/patch/dragmfact.h @@ -1 +1,2 @@ -static void dragmfact(const Arg *arg); \ No newline at end of file +static void dragmfact(const Arg *arg); + diff --git a/patch/dwmc b/patch/dwmc index 6686231..3880428 100755 --- a/patch/dwmc +++ b/patch/dwmc @@ -127,3 +127,4 @@ case $# in exit 1 ;; esac + diff --git a/patch/dwmc.c b/patch/dwmc.c index 9c2e863..b515f87 100644 --- a/patch/dwmc.c +++ b/patch/dwmc.c @@ -98,3 +98,4 @@ fake_signal(void) // No fake signal was sent, so proceed with update return 0; } + diff --git a/patch/dwmc.h b/patch/dwmc.h index 4fb0405..66e23a9 100644 --- a/patch/dwmc.h +++ b/patch/dwmc.h @@ -11,3 +11,4 @@ static void tagex(const Arg *arg); static void toggletagex(const Arg *arg); static void tagallex(const Arg *arg); static int fake_signal(void); + diff --git a/patch/exresize.c b/patch/exresize.c index e9786b3..ac3eab7 100644 --- a/patch/exresize.c +++ b/patch/exresize.c @@ -193,3 +193,4 @@ togglehorizontalexpand(const Arg *arg) else if (arg->i > 0) expand(EXPAND_RIGHT); else expand(EXPAND_LEFT | EXPAND_RIGHT); } + diff --git a/patch/exresize.h b/patch/exresize.h index 79695ba..73a636a 100644 --- a/patch/exresize.h +++ b/patch/exresize.h @@ -5,4 +5,5 @@ void togglemaximize(const Arg *arg); void toggleverticalexpand(const Arg *arg); void togglehorizontalexpand(const Arg *arg); void exresize(const Arg *arg); -void explace(const Arg *arg); \ No newline at end of file +void explace(const Arg *arg); + diff --git a/patch/fakefullscreenclient.c b/patch/fakefullscreenclient.c index eb51652..509211f 100644 --- a/patch/fakefullscreenclient.c +++ b/patch/fakefullscreenclient.c @@ -16,3 +16,4 @@ togglefakefullscreen(const Arg *arg) setfullscreen(c, 1); } } + diff --git a/patch/fakefullscreenclient.h b/patch/fakefullscreenclient.h index e2a36d1..889eed6 100644 --- a/patch/fakefullscreenclient.h +++ b/patch/fakefullscreenclient.h @@ -1 +1,2 @@ -static void togglefakefullscreen(const Arg *arg); \ No newline at end of file +static void togglefakefullscreen(const Arg *arg); + diff --git a/patch/floatpos.c b/patch/floatpos.c index f0568f1..f5e83a7 100644 --- a/patch/floatpos.c +++ b/patch/floatpos.c @@ -192,3 +192,4 @@ getfloatpos(int pos, char pCh, int size, char sCh, int min_p, int max_s, int cp, *out_p = cp; *out_s = MAX(cs - 2*cbw, 1); } + diff --git a/patch/floatpos.h b/patch/floatpos.h index 21e94ef..ecdcf0b 100644 --- a/patch/floatpos.h +++ b/patch/floatpos.h @@ -1,3 +1,4 @@ static void floatpos(const Arg *arg); static void setfloatpos(Client *c, const char *floatpos); -static void getfloatpos(int pos, char pCh, int size, char sCh, int min_p, int max_s, int cp, int cs, int cbw, int defgrid, int *out_p, int *out_s); \ No newline at end of file +static void getfloatpos(int pos, char pCh, int size, char sCh, int min_p, int max_s, int cp, int cs, int cbw, int defgrid, int *out_p, int *out_s); + diff --git a/patch/focusadjacenttag.c b/patch/focusadjacenttag.c index 4183a46..1665c18 100644 --- a/patch/focusadjacenttag.c +++ b/patch/focusadjacenttag.c @@ -98,4 +98,5 @@ tagandviewtoright(const Arg *arg) updatecurrentdesktop(); #endif // BAR_EWMHTAGS_PATCH } -} \ No newline at end of file +} + diff --git a/patch/focusadjacenttag.h b/patch/focusadjacenttag.h index 55b1019..abd7439 100644 --- a/patch/focusadjacenttag.h +++ b/patch/focusadjacenttag.h @@ -3,4 +3,5 @@ static void tagtoright(const Arg *arg); static void viewtoleft(const Arg *arg); static void viewtoright(const Arg *arg); static void tagandviewtoleft(const Arg *arg); -static void tagandviewtoright(const Arg *arg); \ No newline at end of file +static void tagandviewtoright(const Arg *arg); + diff --git a/patch/focusdir.c b/patch/focusdir.c index 1807e42..65798c5 100644 --- a/patch/focusdir.c +++ b/patch/focusdir.c @@ -62,4 +62,5 @@ focusdir(const Arg *arg) focus(f); restack(f->mon); } -} \ No newline at end of file +} + diff --git a/patch/focusdir.h b/patch/focusdir.h index f0f3e5e..0d82ebf 100644 --- a/patch/focusdir.h +++ b/patch/focusdir.h @@ -1 +1,2 @@ -static void focusdir(const Arg *arg); \ No newline at end of file +static void focusdir(const Arg *arg); + diff --git a/patch/focusmaster.c b/patch/focusmaster.c index 839fb43..13a47e5 100644 --- a/patch/focusmaster.c +++ b/patch/focusmaster.c @@ -10,4 +10,5 @@ focusmaster(const Arg *arg) if (c) focus(c); -} \ No newline at end of file +} + diff --git a/patch/focusmaster.h b/patch/focusmaster.h index 5732e4b..32e7c7c 100644 --- a/patch/focusmaster.h +++ b/patch/focusmaster.h @@ -1 +1,2 @@ -static void focusmaster(const Arg *arg); \ No newline at end of file +static void focusmaster(const Arg *arg); + diff --git a/patch/focusurgent.c b/patch/focusurgent.c index 74946ce..86a918e 100644 --- a/patch/focusurgent.c +++ b/patch/focusurgent.c @@ -12,4 +12,5 @@ focusurgent(const Arg *arg) focus(c); } } -} \ No newline at end of file +} + diff --git a/patch/focusurgent.h b/patch/focusurgent.h index 27ab8ac..854258d 100644 --- a/patch/focusurgent.h +++ b/patch/focusurgent.h @@ -1 +1,2 @@ -static void focusurgent(const Arg *arg); \ No newline at end of file +static void focusurgent(const Arg *arg); + diff --git a/patch/fsignal.c b/patch/fsignal.c index 8ae237b..b0ce2ea 100644 --- a/patch/fsignal.c +++ b/patch/fsignal.c @@ -37,4 +37,5 @@ fake_signal(void) // No fake signal was sent, so proceed with update return 0; -} \ No newline at end of file +} + diff --git a/patch/fsignal.h b/patch/fsignal.h index bfb56af..55fed6c 100644 --- a/patch/fsignal.h +++ b/patch/fsignal.h @@ -4,4 +4,5 @@ typedef struct { const Arg arg; } Signal; -static int fake_signal(void); \ No newline at end of file +static int fake_signal(void); + diff --git a/patch/fullscreen.c b/patch/fullscreen.c index a89d40d..667cdc9 100644 --- a/patch/fullscreen.c +++ b/patch/fullscreen.c @@ -14,4 +14,5 @@ fullscreen(const Arg *arg) setlayout(&((Arg) { .v = last_layout })); } togglebar(arg); -} \ No newline at end of file +} + diff --git a/patch/fullscreen.h b/patch/fullscreen.h index b380c2e..72983e1 100644 --- a/patch/fullscreen.h +++ b/patch/fullscreen.h @@ -1 +1,2 @@ -static void fullscreen(const Arg *arg); \ No newline at end of file +static void fullscreen(const Arg *arg); + diff --git a/patch/include.c b/patch/include.c index e4f121d..2e7d92c 100644 --- a/patch/include.c +++ b/patch/include.c @@ -353,3 +353,4 @@ #if TILE_LAYOUT #include "layout_tile.c" #endif + diff --git a/patch/include.h b/patch/include.h index 9df14fc..850589e 100644 --- a/patch/include.h +++ b/patch/include.h @@ -343,3 +343,4 @@ #if TILE_LAYOUT #include "layout_tile.h" #endif + diff --git a/patch/inplacerotate.c b/patch/inplacerotate.c index fe6befb..b700e04 100644 --- a/patch/inplacerotate.c +++ b/patch/inplacerotate.c @@ -80,4 +80,5 @@ inplacerotate(const Arg *arg) } arrange(selmon); focus(c); -} \ No newline at end of file +} + diff --git a/patch/inplacerotate.h b/patch/inplacerotate.h index 2767ad1..2669375 100644 --- a/patch/inplacerotate.h +++ b/patch/inplacerotate.h @@ -1 +1,2 @@ -static void inplacerotate(const Arg *arg); \ No newline at end of file +static void inplacerotate(const Arg *arg); + diff --git a/patch/insets.c b/patch/insets.c index c0836cf..8ad99b3 100644 --- a/patch/insets.c +++ b/patch/insets.c @@ -15,4 +15,5 @@ updateinset(const Arg *arg) Inset *inset = (Inset *)arg->v; for (Monitor *m = mons; m; m = m->next) setinset(m, *inset); -} \ No newline at end of file +} + diff --git a/patch/insets.h b/patch/insets.h index ab76278..54635db 100644 --- a/patch/insets.h +++ b/patch/insets.h @@ -1,2 +1,3 @@ static void setinset(Monitor *m, Inset inset); -static void updateinset(const Arg *arg); \ No newline at end of file +static void updateinset(const Arg *arg); + diff --git a/patch/ipc.c b/patch/ipc.c index ef0e577..f5ec62c 100644 --- a/patch/ipc.c +++ b/patch/ipc.c @@ -107,4 +107,5 @@ setstatus(const Arg *arg) #endif // BAR_EXTRASTATUS_PATCH | BAR_STATUSCMD_PATCH for (m = mons; m; m = m->next) drawbar(m); -} \ No newline at end of file +} + diff --git a/patch/ipc.h b/patch/ipc.h index a07a42f..ac8fb73 100644 --- a/patch/ipc.h +++ b/patch/ipc.h @@ -3,4 +3,5 @@ static int handlexevent(struct epoll_event *ev); static void setlayoutsafe(const Arg *arg); static void setupepoll(void); -static void setstatus(const Arg *arg); \ No newline at end of file +static void setstatus(const Arg *arg); + diff --git a/patch/ipc/IPCClient.c b/patch/ipc/IPCClient.c index 0d3eefb..a157513 100644 --- a/patch/ipc/IPCClient.c +++ b/patch/ipc/IPCClient.c @@ -64,3 +64,4 @@ ipc_list_get_client(IPCClientList list, int fd) return NULL; } + diff --git a/patch/ipc/IPCClient.h b/patch/ipc/IPCClient.h index 307dfba..ee93030 100644 --- a/patch/ipc/IPCClient.h +++ b/patch/ipc/IPCClient.h @@ -59,3 +59,4 @@ void ipc_list_remove_client(IPCClientList *list, IPCClient *c); IPCClient *ipc_list_get_client(IPCClientList list, int fd); #endif // IPC_CLIENT_H_ + diff --git a/patch/ipc/dwm-msg.c b/patch/ipc/dwm-msg.c index 089dc9f..ca1e1a4 100644 --- a/patch/ipc/dwm-msg.c +++ b/patch/ipc/dwm-msg.c @@ -546,3 +546,4 @@ main(int argc, char *argv[]) return 0; } + diff --git a/patch/ipc/ipc.c b/patch/ipc/ipc.c index 0cc76a7..eae9667 100644 --- a/patch/ipc/ipc.c +++ b/patch/ipc/ipc.c @@ -1199,3 +1199,4 @@ ipc_handle_socket_epoll_event(struct epoll_event *ev) return new_fd; } + diff --git a/patch/ipc/ipc.h b/patch/ipc/ipc.h index 29ec036..4a72fb8 100644 --- a/patch/ipc/ipc.h +++ b/patch/ipc/ipc.h @@ -317,3 +317,4 @@ int ipc_handle_client_epoll_event(struct epoll_event *ev, Monitor *mons, int ipc_handle_socket_epoll_event(struct epoll_event *ev); #endif /* IPC_H_ */ + diff --git a/patch/ipc/util.c b/patch/ipc/util.c index fedfc93..7ea425e 100644 --- a/patch/ipc/util.c +++ b/patch/ipc/util.c @@ -133,3 +133,4 @@ nullterminate(char **str, size_t *len) return 0; } + diff --git a/patch/ipc/util.h b/patch/ipc/util.h index 8f8d35f..8d2a626 100644 --- a/patch/ipc/util.h +++ b/patch/ipc/util.h @@ -1,4 +1,5 @@ int normalizepath(const char *path, char **normal); int mkdirp(const char *path); int parentdir(const char *path, char **parent); -int nullterminate(char **str, size_t *len); \ No newline at end of file +int nullterminate(char **str, size_t *len); + diff --git a/patch/ipc/yajl_dumps.c b/patch/ipc/yajl_dumps.c index 0888252..b24a429 100644 --- a/patch/ipc/yajl_dumps.c +++ b/patch/ipc/yajl_dumps.c @@ -353,3 +353,4 @@ dump_error_message(yajl_gen gen, const char *reason) return 0; } + diff --git a/patch/ipc/yajl_dumps.h b/patch/ipc/yajl_dumps.h index 6546003..bb57a17 100644 --- a/patch/ipc/yajl_dumps.h +++ b/patch/ipc/yajl_dumps.h @@ -63,3 +63,4 @@ int dump_focused_state_change_event(yajl_gen gen, const int mon_num, int dump_error_message(yajl_gen gen, const char *reason); #endif // YAJL_DUMPS_H_ + diff --git a/patch/keymodes.c b/patch/keymodes.c index 45af3c5..6f2f840 100644 --- a/patch/keymodes.c +++ b/patch/keymodes.c @@ -140,4 +140,5 @@ setkeymode(const Arg *arg) keymode = arg->ui; clearcmd(&a); grabkeys(); -} \ No newline at end of file +} + diff --git a/patch/keymodes.h b/patch/keymodes.h index 3a13163..0a46125 100644 --- a/patch/keymodes.h +++ b/patch/keymodes.h @@ -18,4 +18,5 @@ static void setkeymode(const Arg *arg); /* variables */ static unsigned int cmdmod[4]; static unsigned int keymode = INSERTMODE; -static KeySym cmdkeysym[4]; \ No newline at end of file +static KeySym cmdkeysym[4]; + diff --git a/patch/killunsel.c b/patch/killunsel.c index 774847b..8d7a7b8 100644 --- a/patch/killunsel.c +++ b/patch/killunsel.c @@ -24,4 +24,5 @@ killunsel(const Arg *arg) } } } -} \ No newline at end of file +} + diff --git a/patch/killunsel.h b/patch/killunsel.h index 4f38a6e..4fc154f 100644 --- a/patch/killunsel.h +++ b/patch/killunsel.h @@ -1 +1,2 @@ -static void killunsel(const Arg *arg); \ No newline at end of file +static void killunsel(const Arg *arg); + diff --git a/patch/layout_bstack.c b/patch/layout_bstack.c index be06647..8989975 100644 --- a/patch/layout_bstack.c +++ b/patch/layout_bstack.c @@ -71,4 +71,5 @@ bstack(Monitor *m) #endif } } -} \ No newline at end of file +} + diff --git a/patch/layout_bstack.h b/patch/layout_bstack.h index 56c99ff..07e8c0a 100644 --- a/patch/layout_bstack.h +++ b/patch/layout_bstack.h @@ -1 +1,2 @@ -static void bstack(Monitor *m); \ No newline at end of file +static void bstack(Monitor *m); + diff --git a/patch/layout_bstackhoriz.c b/patch/layout_bstackhoriz.c index 0f9042f..462301c 100644 --- a/patch/layout_bstackhoriz.c +++ b/patch/layout_bstackhoriz.c @@ -73,4 +73,5 @@ bstackhoriz(Monitor *m) #endif } } -} \ No newline at end of file +} + diff --git a/patch/layout_bstackhoriz.h b/patch/layout_bstackhoriz.h index 8dd0ebd..a421d6f 100644 --- a/patch/layout_bstackhoriz.h +++ b/patch/layout_bstackhoriz.h @@ -1 +1,2 @@ -static void bstackhoriz(Monitor *m); \ No newline at end of file +static void bstackhoriz(Monitor *m); + diff --git a/patch/layout_centeredfloatingmaster.c b/patch/layout_centeredfloatingmaster.c index 756b41f..6d1aff0 100644 --- a/patch/layout_centeredfloatingmaster.c +++ b/patch/layout_centeredfloatingmaster.c @@ -92,3 +92,4 @@ centeredfloatingmaster(Monitor *m) #endif } } + diff --git a/patch/layout_centeredfloatingmaster.h b/patch/layout_centeredfloatingmaster.h index e4147b3..66b0b0e 100644 --- a/patch/layout_centeredfloatingmaster.h +++ b/patch/layout_centeredfloatingmaster.h @@ -1 +1,2 @@ -static void centeredfloatingmaster(Monitor *m); \ No newline at end of file +static void centeredfloatingmaster(Monitor *m); + diff --git a/patch/layout_centeredmaster.c b/patch/layout_centeredmaster.c index a72eb07..39aa67f 100644 --- a/patch/layout_centeredmaster.c +++ b/patch/layout_centeredmaster.c @@ -156,4 +156,5 @@ centeredmaster(Monitor *m) } } } -} \ No newline at end of file +} + diff --git a/patch/layout_centeredmaster.h b/patch/layout_centeredmaster.h index b047212..703f8b8 100644 --- a/patch/layout_centeredmaster.h +++ b/patch/layout_centeredmaster.h @@ -1 +1,2 @@ -static void centeredmaster(Monitor *m); \ No newline at end of file +static void centeredmaster(Monitor *m); + diff --git a/patch/layout_columns.c b/patch/layout_columns.c index bcdaa11..8a0e551 100644 --- a/patch/layout_columns.c +++ b/patch/layout_columns.c @@ -70,4 +70,5 @@ col(Monitor *m) sy += HEIGHT(c); #endif } -} \ No newline at end of file +} + diff --git a/patch/layout_columns.h b/patch/layout_columns.h index 8f64a09..a589371 100644 --- a/patch/layout_columns.h +++ b/patch/layout_columns.h @@ -1 +1,2 @@ -static void col(Monitor *); \ No newline at end of file +static void col(Monitor *); + diff --git a/patch/layout_deck.c b/patch/layout_deck.c index 6f2027d..1cabf0e 100644 --- a/patch/layout_deck.c +++ b/patch/layout_deck.c @@ -63,4 +63,5 @@ deck(Monitor *m) } else { resize(c, sx, sy, sw - (2*c->bw), sh - (2*c->bw), 0); } -} \ No newline at end of file +} + diff --git a/patch/layout_deck.h b/patch/layout_deck.h index abedeb2..b6e3c41 100644 --- a/patch/layout_deck.h +++ b/patch/layout_deck.h @@ -1 +1,2 @@ -static void deck(Monitor *m); \ No newline at end of file +static void deck(Monitor *m); + diff --git a/patch/layout_facts.c b/patch/layout_facts.c index e5beb4b..611e89e 100644 --- a/patch/layout_facts.c +++ b/patch/layout_facts.c @@ -49,3 +49,4 @@ getfacts(Monitor *m, int msize, int ssize, float *mf, float *sf, int *mr, int *s *sr = ssize - stotal; // the remainder (rest) of pixels after an even stack split } #endif // CFACTS_PATCH + diff --git a/patch/layout_fibonacci.c b/patch/layout_fibonacci.c index 87a1bdf..4c5eb72 100644 --- a/patch/layout_fibonacci.c +++ b/patch/layout_fibonacci.c @@ -188,3 +188,4 @@ spiral(Monitor *m) fibonacci(m, 0); } #endif + diff --git a/patch/layout_fibonacci.h b/patch/layout_fibonacci.h index a15eb76..3d6f77f 100644 --- a/patch/layout_fibonacci.h +++ b/patch/layout_fibonacci.h @@ -4,4 +4,5 @@ static void dwindle(Monitor *m); static void fibonacci(Monitor *m, int s); #if FIBONACCI_SPIRAL_LAYOUT static void spiral(Monitor *m); -#endif // FIBONACCI_SPIRAL_LAYOUT \ No newline at end of file +#endif // FIBONACCI_SPIRAL_LAYOUT + diff --git a/patch/layout_flextile-deluxe.c b/patch/layout_flextile-deluxe.c index 3f5cc27..c7429f4 100644 --- a/patch/layout_flextile-deluxe.c +++ b/patch/layout_flextile-deluxe.c @@ -888,3 +888,4 @@ incnstack(const Arg *arg) #endif // PERTAG_PATCH arrange(selmon); } + diff --git a/patch/layout_flextile-deluxe.h b/patch/layout_flextile-deluxe.h index 9ec7324..92df5c5 100644 --- a/patch/layout_flextile-deluxe.h +++ b/patch/layout_flextile-deluxe.h @@ -118,3 +118,4 @@ static char tilesymb[] = { 64, // "@", 84, // "T", }; + diff --git a/patch/layout_gapplessgrid.c b/patch/layout_gapplessgrid.c index 0330181..79f236a 100644 --- a/patch/layout_gapplessgrid.c +++ b/patch/layout_gapplessgrid.c @@ -96,3 +96,4 @@ gaplessgrid(Monitor *m) } } #endif + diff --git a/patch/layout_gapplessgrid.h b/patch/layout_gapplessgrid.h index 28a7b5d..1a4ffc2 100644 --- a/patch/layout_gapplessgrid.h +++ b/patch/layout_gapplessgrid.h @@ -1 +1,2 @@ -static void gaplessgrid(Monitor *m); \ No newline at end of file +static void gaplessgrid(Monitor *m); + diff --git a/patch/layout_grid.c b/patch/layout_grid.c index df19896..7ac832f 100644 --- a/patch/layout_grid.c +++ b/patch/layout_grid.c @@ -57,4 +57,5 @@ grid(Monitor *m) resize(c, cx, cy, cw + (cc < cwrest ? 1 : 0) - 2*c->bw, ch + (cr < chrest ? 1 : 0) - 2*c->bw, False); } } -#endif \ No newline at end of file +#endif + diff --git a/patch/layout_grid.h b/patch/layout_grid.h index 81149ce..2c03abb 100644 --- a/patch/layout_grid.h +++ b/patch/layout_grid.h @@ -1 +1,2 @@ -static void grid(Monitor *m); \ No newline at end of file +static void grid(Monitor *m); + diff --git a/patch/layout_horizgrid.c b/patch/layout_horizgrid.c index 48f66ab..beb8e0b 100644 --- a/patch/layout_horizgrid.c +++ b/patch/layout_horizgrid.c @@ -100,4 +100,5 @@ horizgrid(Monitor *m) { sx += WIDTH(c); #endif // VANITYGAPS_PATCH } -} \ No newline at end of file +} + diff --git a/patch/layout_horizgrid.h b/patch/layout_horizgrid.h index 71a57fb..799fa9c 100644 --- a/patch/layout_horizgrid.h +++ b/patch/layout_horizgrid.h @@ -1 +1,2 @@ -static void horizgrid(Monitor *m); \ No newline at end of file +static void horizgrid(Monitor *m); + diff --git a/patch/layout_monocle.c b/patch/layout_monocle.c index 1533aa9..f7b5bc3 100644 --- a/patch/layout_monocle.c +++ b/patch/layout_monocle.c @@ -34,4 +34,5 @@ monocle(Monitor *m) for (c = nexttiled(m->clients); c; c = nexttiled(c->next)) resize(c, m->wx, m->wy, m->ww - 2 * c->bw, m->wh - 2 * c->bw, 0); } -#endif // VANITYGAPS_PATCH \ No newline at end of file +#endif // VANITYGAPS_PATCH + diff --git a/patch/layout_monocle.h b/patch/layout_monocle.h index d3df960..f32e49f 100644 --- a/patch/layout_monocle.h +++ b/patch/layout_monocle.h @@ -1 +1,2 @@ -static void monocle(Monitor *m); \ No newline at end of file +static void monocle(Monitor *m); + diff --git a/patch/layout_nrowgrid.c b/patch/layout_nrowgrid.c index 5709d80..7fada74 100644 --- a/patch/layout_nrowgrid.c +++ b/patch/layout_nrowgrid.c @@ -100,4 +100,5 @@ nrowgrid(Monitor *m) resize(c, cx, cy, cw - (2*c->bw), ch - (2*c->bw), 0); } } -#endif \ No newline at end of file +#endif + diff --git a/patch/layout_nrowgrid.h b/patch/layout_nrowgrid.h index de71a50..9cce593 100644 --- a/patch/layout_nrowgrid.h +++ b/patch/layout_nrowgrid.h @@ -1 +1,2 @@ -static void nrowgrid(Monitor *m); \ No newline at end of file +static void nrowgrid(Monitor *m); + diff --git a/patch/layout_tile.c b/patch/layout_tile.c index fa0b90a..cd4f1ae 100644 --- a/patch/layout_tile.c +++ b/patch/layout_tile.c @@ -70,4 +70,5 @@ tile(Monitor *m) sy += HEIGHT(c); #endif } -} \ No newline at end of file +} + diff --git a/patch/layout_tile.h b/patch/layout_tile.h index 8730e13..78cafc8 100644 --- a/patch/layout_tile.h +++ b/patch/layout_tile.h @@ -1 +1,2 @@ -static void tile(Monitor *); \ No newline at end of file +static void tile(Monitor *); + diff --git a/patch/maximize.c b/patch/maximize.c index 53336eb..c89dbda 100644 --- a/patch/maximize.c +++ b/patch/maximize.c @@ -66,4 +66,5 @@ togglehorizontalmax(const Arg *arg) { maximize(selmon->wx, selmon->sel->y, selmon->ww - 2 * borderpx, selmon->sel->h); } -#endif // SETBORDERPX_PATCH \ No newline at end of file +#endif // SETBORDERPX_PATCH + diff --git a/patch/maximize.h b/patch/maximize.h index e06a3ff..f3c6c9a 100644 --- a/patch/maximize.h +++ b/patch/maximize.h @@ -1,4 +1,5 @@ static void maximize(int x, int y, int w, int h); static void togglemax(const Arg *arg); static void toggleverticalmax(const Arg *arg); -static void togglehorizontalmax(const Arg *arg); \ No newline at end of file +static void togglehorizontalmax(const Arg *arg); + diff --git a/patch/moveplace.c b/patch/moveplace.c index cfd17a4..7211417 100644 --- a/patch/moveplace.c +++ b/patch/moveplace.c @@ -26,4 +26,5 @@ moveplace(const Arg *arg) ny = selmon->wy + selmon->wh/2 - nh/2 - c->bw; resize(c, nx, ny, nw, nh, True); XWarpPointer(dpy, None, c->win, 0, 0, 0, 0, nw/2, nh/2); -} \ No newline at end of file +} + diff --git a/patch/moveplace.h b/patch/moveplace.h index f921b8e..57bc924 100644 --- a/patch/moveplace.h +++ b/patch/moveplace.h @@ -1,3 +1,4 @@ enum { WIN_NW, WIN_N, WIN_NE, WIN_W, WIN_C, WIN_E, WIN_SW, WIN_S, WIN_SE }; -static void moveplace(const Arg *arg); \ No newline at end of file +static void moveplace(const Arg *arg); + diff --git a/patch/moveresize.c b/patch/moveresize.c index 35f0a2f..75d58e2 100644 --- a/patch/moveresize.c +++ b/patch/moveresize.c @@ -61,4 +61,5 @@ moveresize(const Arg *arg) { nmy = c->y - oy + c->h - oh; XWarpPointer(dpy, None, None, 0, 0, 0, 0, nmx, nmy); } -} \ No newline at end of file +} + diff --git a/patch/moveresize.h b/patch/moveresize.h index 5d963ff..919ebad 100644 --- a/patch/moveresize.h +++ b/patch/moveresize.h @@ -1 +1,2 @@ -static void moveresize(const Arg *arg); \ No newline at end of file +static void moveresize(const Arg *arg); + diff --git a/patch/movestack.c b/patch/movestack.c index ab97b18..fe97f1d 100644 --- a/patch/movestack.c +++ b/patch/movestack.c @@ -47,4 +47,5 @@ movestack(const Arg *arg) arrange(selmon); } -} \ No newline at end of file +} + diff --git a/patch/movestack.h b/patch/movestack.h index 19ac5d8..25f198f 100644 --- a/patch/movestack.h +++ b/patch/movestack.h @@ -1 +1,2 @@ -static void movestack(const Arg *arg); \ No newline at end of file +static void movestack(const Arg *arg); + diff --git a/patch/mpdcontrol.c b/patch/mpdcontrol.c index c7ff786..fc81e07 100644 --- a/patch/mpdcontrol.c +++ b/patch/mpdcontrol.c @@ -141,4 +141,5 @@ void mpdcontrol() mpd_status_free(status); mpd_connection_free(conn); } -} \ No newline at end of file +} + diff --git a/patch/mpdcontrol.h b/patch/mpdcontrol.h index b8825d4..1ce304e 100644 --- a/patch/mpdcontrol.h +++ b/patch/mpdcontrol.h @@ -1,2 +1,3 @@ static void mpdchange(const Arg *direction); -static void mpdcontrol(); \ No newline at end of file +static void mpdcontrol(); + diff --git a/patch/nomodbuttons.c b/patch/nomodbuttons.c index c4e082e..9c196de 100644 --- a/patch/nomodbuttons.c +++ b/patch/nomodbuttons.c @@ -4,4 +4,5 @@ togglenomodbuttons(const Arg *arg) nomodbuttons = !nomodbuttons; if (selmon->sel) grabbuttons(selmon->sel, 1); -} \ No newline at end of file +} + diff --git a/patch/nomodbuttons.h b/patch/nomodbuttons.h index 4e6c572..a613ed4 100644 --- a/patch/nomodbuttons.h +++ b/patch/nomodbuttons.h @@ -1 +1,2 @@ -static void togglenomodbuttons(const Arg *arg); \ No newline at end of file +static void togglenomodbuttons(const Arg *arg); + diff --git a/patch/pertag.c b/patch/pertag.c index bcc392f..f534023 100644 --- a/patch/pertag.c +++ b/patch/pertag.c @@ -74,4 +74,5 @@ pertagview(const Arg *arg) if (selmon->showbar != selmon->pertag->showbars[selmon->pertag->curtag]) togglebar(NULL); #endif // PERTAGBAR_PATCH -} \ No newline at end of file +} + diff --git a/patch/pertag.h b/patch/pertag.h index ac5288d..5c53ac9 100644 --- a/patch/pertag.h +++ b/patch/pertag.h @@ -1 +1,2 @@ -static void pertagview(const Arg *arg); \ No newline at end of file +static void pertagview(const Arg *arg); + diff --git a/patch/placemouse.c b/patch/placemouse.c index 4d1a84b..0208baf 100644 --- a/patch/placemouse.c +++ b/patch/placemouse.c @@ -149,4 +149,5 @@ recttoclient(int x, int y, int w, int h) } } return r; -} \ No newline at end of file +} + diff --git a/patch/placemouse.h b/patch/placemouse.h index 8687ae3..20c3eca 100644 --- a/patch/placemouse.h +++ b/patch/placemouse.h @@ -4,3 +4,4 @@ static void moveorplace(const Arg *arg); static void placemouse(const Arg *arg); static Client *recttoclient(int x, int y, int w, int h); + diff --git a/patch/push.c b/patch/push.c index ae35928..9410e61 100644 --- a/patch/push.c +++ b/patch/push.c @@ -68,4 +68,5 @@ pushdown(const Arg *arg) } focus(sel); arrange(selmon); -} \ No newline at end of file +} + diff --git a/patch/push.h b/patch/push.h index 9cad8b3..6415f80 100644 --- a/patch/push.h +++ b/patch/push.h @@ -1,4 +1,5 @@ static Client * nextc(Client *c, float f); static Client * prevc(Client *c, float f); static void pushup(const Arg *arg); -static void pushdown(const Arg *arg); \ No newline at end of file +static void pushdown(const Arg *arg); + diff --git a/patch/push_no_master.c b/patch/push_no_master.c index 5ff9326..2d78cf4 100644 --- a/patch/push_no_master.c +++ b/patch/push_no_master.c @@ -40,4 +40,5 @@ pushdown(const Arg *arg) } focus(sel); arrange(selmon); -} \ No newline at end of file +} + diff --git a/patch/push_no_master.h b/patch/push_no_master.h index 7ea061d..6904fb0 100644 --- a/patch/push_no_master.h +++ b/patch/push_no_master.h @@ -1,3 +1,4 @@ Client * prevt(Client *c); static void pushup(const Arg *arg); -static void pushdown(const Arg *arg); \ No newline at end of file +static void pushdown(const Arg *arg); + diff --git a/patch/reorganizetags.c b/patch/reorganizetags.c index da27ecd..1aff54a 100644 --- a/patch/reorganizetags.c +++ b/patch/reorganizetags.c @@ -24,4 +24,5 @@ reorganizetags(const Arg *arg) if (selmon->sel) selmon->tagset[selmon->seltags] = selmon->sel->tags; arrange(selmon); -} \ No newline at end of file +} + diff --git a/patch/reorganizetags.h b/patch/reorganizetags.h index 27c0cea..c4917af 100644 --- a/patch/reorganizetags.h +++ b/patch/reorganizetags.h @@ -1 +1,2 @@ -static void reorganizetags(const Arg *arg); \ No newline at end of file +static void reorganizetags(const Arg *arg); + diff --git a/patch/restartsig.c b/patch/restartsig.c index 0bef576..adb61b5 100644 --- a/patch/restartsig.c +++ b/patch/restartsig.c @@ -12,4 +12,5 @@ sigterm(int unused) { Arg a = {.i = 0}; quit(&a); -} \ No newline at end of file +} + diff --git a/patch/restartsig.h b/patch/restartsig.h index 5a08c39..b16975b 100644 --- a/patch/restartsig.h +++ b/patch/restartsig.h @@ -1,2 +1,3 @@ static void sighup(int unused); -static void sigterm(int unused); \ No newline at end of file +static void sigterm(int unused); + diff --git a/patch/riodraw.c b/patch/riodraw.c index b80328f..c430f5c 100644 --- a/patch/riodraw.c +++ b/patch/riodraw.c @@ -100,4 +100,5 @@ riospawnsync(const Arg *arg) { if (riodraw(NULL, slopspawnstyle)) riopid = spawncmd(arg); -} \ No newline at end of file +} + diff --git a/patch/riodraw.h b/patch/riodraw.h index 9178804..7756aeb 100644 --- a/patch/riodraw.h +++ b/patch/riodraw.h @@ -3,3 +3,4 @@ static void rioposition(Client *c, int x, int y, int w, int h); static void rioresize(const Arg *arg); static void riospawn(const Arg *arg); static void riospawnsync(const Arg *arg); + diff --git a/patch/rotatestack.c b/patch/rotatestack.c index d2f7d50..41df8b1 100644 --- a/patch/rotatestack.c +++ b/patch/rotatestack.c @@ -49,4 +49,5 @@ rotatestack(const Arg *arg) focus(f); restack(selmon); } -} \ No newline at end of file +} + diff --git a/patch/rotatestack.h b/patch/rotatestack.h index c0661fa..ea64e68 100644 --- a/patch/rotatestack.h +++ b/patch/rotatestack.h @@ -1,3 +1,4 @@ static void enqueue(Client *c); static void enqueuestack(Client *c); -static void rotatestack(const Arg *arg); \ No newline at end of file +static void rotatestack(const Arg *arg); + diff --git a/patch/roundedcorners.c b/patch/roundedcorners.c index 56c54c8..881dbab 100644 --- a/patch/roundedcorners.c +++ b/patch/roundedcorners.c @@ -47,4 +47,5 @@ void drawroundedcorners(Client *c) XShapeCombineMask(dpy, win, ShapeBounding, 0, 0, mask, ShapeSet); XFreePixmap(dpy, mask); XFreeGC(dpy, shape_gc); -} \ No newline at end of file +} + diff --git a/patch/roundedcorners.h b/patch/roundedcorners.h index 40f7549..31a1f31 100644 --- a/patch/roundedcorners.h +++ b/patch/roundedcorners.h @@ -1 +1,2 @@ -static void drawroundedcorners(Client *c); \ No newline at end of file +static void drawroundedcorners(Client *c); + diff --git a/patch/scratchpad.c b/patch/scratchpad.c index 2034d0d..9e24ff6 100644 --- a/patch/scratchpad.c +++ b/patch/scratchpad.c @@ -73,4 +73,5 @@ togglescratch(const Arg *arg) selmon->tagset[selmon->seltags] |= scratchtag; spawn(&sparg); } -} \ No newline at end of file +} + diff --git a/patch/scratchpad.h b/patch/scratchpad.h index 42e592b..6230266 100644 --- a/patch/scratchpad.h +++ b/patch/scratchpad.h @@ -5,4 +5,5 @@ typedef struct { static void removescratch(const Arg *arg); static void setscratch(const Arg *arg); -static void togglescratch(const Arg *arg); \ No newline at end of file +static void togglescratch(const Arg *arg); + diff --git a/patch/scratchpad_alt_1.c b/patch/scratchpad_alt_1.c index a8ba805..6724d5c 100644 --- a/patch/scratchpad_alt_1.c +++ b/patch/scratchpad_alt_1.c @@ -68,4 +68,5 @@ scratchpad_show_first(void) for (c = selmon->clients; c && c->tags != SCRATCHPAD_MASK; c = c->next); if (c) scratchpad_show_client(c); -} \ No newline at end of file +} + diff --git a/patch/scratchpad_alt_1.h b/patch/scratchpad_alt_1.h index 36ce378..4e25f11 100644 --- a/patch/scratchpad_alt_1.h +++ b/patch/scratchpad_alt_1.h @@ -5,4 +5,5 @@ static _Bool scratchpad_last_showed_is_killed(void); static void scratchpad_remove(); static void scratchpad_show(); static void scratchpad_show_client(Client *c); -static void scratchpad_show_first(void); \ No newline at end of file +static void scratchpad_show_first(void); + diff --git a/patch/selfrestart.c b/patch/selfrestart.c index c3b88c1..f733867 100644 --- a/patch/selfrestart.c +++ b/patch/selfrestart.c @@ -66,3 +66,4 @@ void self_restart(const Arg *arg) execv(argv[0], argv); } + diff --git a/patch/selfrestart.h b/patch/selfrestart.h index 4af2436..3fd0b81 100644 --- a/patch/selfrestart.h +++ b/patch/selfrestart.h @@ -1,2 +1,3 @@ char *get_dwm_path(); -void self_restart(const Arg *arg); \ No newline at end of file +void self_restart(const Arg *arg); + diff --git a/patch/setborderpx.c b/patch/setborderpx.c index 320aaa4..948d6f6 100644 --- a/patch/setborderpx.c +++ b/patch/setborderpx.c @@ -42,3 +42,4 @@ setborderpx(const Arg *arg) } arrange(selmon); } + diff --git a/patch/setborderpx.h b/patch/setborderpx.h index c598066..a92ae0b 100644 --- a/patch/setborderpx.h +++ b/patch/setborderpx.h @@ -1 +1,2 @@ -static void setborderpx(const Arg *arg); \ No newline at end of file +static void setborderpx(const Arg *arg); + diff --git a/patch/shiftview.c b/patch/shiftview.c index 72d5b36..423d74b 100644 --- a/patch/shiftview.c +++ b/patch/shiftview.c @@ -16,3 +16,4 @@ shiftview(const Arg *arg) view(&shifted); } + diff --git a/patch/shiftview.h b/patch/shiftview.h index cace70e..1d7fd1f 100644 --- a/patch/shiftview.h +++ b/patch/shiftview.h @@ -1 +1,2 @@ -static void shiftview(const Arg *arg); \ No newline at end of file +static void shiftview(const Arg *arg); + diff --git a/patch/shiftviewclients.c b/patch/shiftviewclients.c index 04378ef..1bf9de8 100644 --- a/patch/shiftviewclients.c +++ b/patch/shiftviewclients.c @@ -39,4 +39,5 @@ shiftviewclients(const Arg *arg) } while (tagmask && !(shifted.ui & tagmask)); view(&shifted); -} \ No newline at end of file +} + diff --git a/patch/shiftviewclients.h b/patch/shiftviewclients.h index ddff826..49aeb51 100644 --- a/patch/shiftviewclients.h +++ b/patch/shiftviewclients.h @@ -1 +1,2 @@ -static void shiftviewclients(const Arg *arg); \ No newline at end of file +static void shiftviewclients(const Arg *arg); + diff --git a/patch/sizehints_ruled.c b/patch/sizehints_ruled.c index 885707f..99c7e62 100644 --- a/patch/sizehints_ruled.c +++ b/patch/sizehints_ruled.c @@ -22,3 +22,4 @@ checkfloatingrules(Client *c) if (ch.res_name) XFree(ch.res_name); } + diff --git a/patch/sizehints_ruled.h b/patch/sizehints_ruled.h index d21b2e4..14c6719 100644 --- a/patch/sizehints_ruled.h +++ b/patch/sizehints_ruled.h @@ -1 +1,2 @@ -static void checkfloatingrules(Client *c); \ No newline at end of file +static void checkfloatingrules(Client *c); + diff --git a/patch/sortscreens.c b/patch/sortscreens.c index 6250848..538e2c1 100644 --- a/patch/sortscreens.c +++ b/patch/sortscreens.c @@ -12,4 +12,5 @@ sortscreens(XineramaScreenInfo *screens, int n) memcpy(&screens[j], &screen[0], sizeof(XineramaScreenInfo)); } XFree(screen); -} \ No newline at end of file +} + diff --git a/patch/sortscreens.h b/patch/sortscreens.h index d829cdf..82915f4 100644 --- a/patch/sortscreens.h +++ b/patch/sortscreens.h @@ -1,3 +1,4 @@ #define RIGHTOF(a,b) (a.y_org > b.y_org) || ((a.y_org == b.y_org) && (a.x_org > b.x_org)) -static void sortscreens(XineramaScreenInfo *screens, int n); \ No newline at end of file +static void sortscreens(XineramaScreenInfo *screens, int n); + diff --git a/patch/stacker.c b/patch/stacker.c index f7f638e..ed8b76b 100644 --- a/patch/stacker.c +++ b/patch/stacker.c @@ -110,3 +110,4 @@ stackpos(const Arg *arg) return arg->i; #endif // BAR_WINTITLEACTIONS_PATCH } + diff --git a/patch/stacker.h b/patch/stacker.h index 0a06461..ee420bd 100644 --- a/patch/stacker.h +++ b/patch/stacker.h @@ -7,4 +7,5 @@ static void focusstack(const Arg *arg); static void pushstack(const Arg *arg); -static int stackpos(const Arg *arg); \ No newline at end of file +static int stackpos(const Arg *arg); + diff --git a/patch/sticky.c b/patch/sticky.c index 54bd403..420c3e0 100644 --- a/patch/sticky.c +++ b/patch/sticky.c @@ -5,4 +5,5 @@ togglesticky(const Arg *arg) return; selmon->sel->issticky = !selmon->sel->issticky; arrange(selmon); -} \ No newline at end of file +} + diff --git a/patch/sticky.h b/patch/sticky.h index a7c35ab..277bb34 100644 --- a/patch/sticky.h +++ b/patch/sticky.h @@ -1 +1,2 @@ -static void togglesticky(const Arg *arg); \ No newline at end of file +static void togglesticky(const Arg *arg); + diff --git a/patch/swallow.c b/patch/swallow.c index 84dda8c..824ca83 100644 --- a/patch/swallow.c +++ b/patch/swallow.c @@ -203,3 +203,4 @@ swallowingclient(Window w) return NULL; } + diff --git a/patch/swallow.h b/patch/swallow.h index d44a7ea..529fea9 100644 --- a/patch/swallow.h +++ b/patch/swallow.h @@ -4,4 +4,5 @@ static int swallow(Client *p, Client *c); static Client *swallowingclient(Window w); static Client *termforwin(const Client *c); static void unswallow(Client *c); -static pid_t winpid(Window w); \ No newline at end of file +static pid_t winpid(Window w); + diff --git a/patch/swapfocus.c b/patch/swapfocus.c index 7693925..ec85c2e 100644 --- a/patch/swapfocus.c +++ b/patch/swapfocus.c @@ -18,4 +18,5 @@ swapfocus(const Arg *arg) restack(selmon); } } -} \ No newline at end of file +} + diff --git a/patch/swapfocus.h b/patch/swapfocus.h index f573988..e547d2f 100644 --- a/patch/swapfocus.h +++ b/patch/swapfocus.h @@ -1 +1,2 @@ -static void swapfocus(const Arg *arg); \ No newline at end of file +static void swapfocus(const Arg *arg); + diff --git a/patch/swaptags.c b/patch/swaptags.c index c43a83f..d6a72d7 100644 --- a/patch/swaptags.c +++ b/patch/swaptags.c @@ -19,4 +19,5 @@ swaptags(const Arg *arg) focus(NULL); arrange(selmon); -} \ No newline at end of file +} + diff --git a/patch/swaptags.h b/patch/swaptags.h index 150fcce..fdadf3a 100644 --- a/patch/swaptags.h +++ b/patch/swaptags.h @@ -1 +1,2 @@ -static void swaptags(const Arg *arg); \ No newline at end of file +static void swaptags(const Arg *arg); + diff --git a/patch/switchcol.c b/patch/switchcol.c index b2fe595..6caf8ba 100644 --- a/patch/switchcol.c +++ b/patch/switchcol.c @@ -25,4 +25,5 @@ switchcol(const Arg *arg) break; } } -} \ No newline at end of file +} + diff --git a/patch/switchcol.h b/patch/switchcol.h index f7f5f96..8c7cded 100644 --- a/patch/switchcol.h +++ b/patch/switchcol.h @@ -1 +1,2 @@ -static void switchcol(const Arg *arg); \ No newline at end of file +static void switchcol(const Arg *arg); + diff --git a/patch/tab.c b/patch/tab.c index be6a59a..30a14d1 100644 --- a/patch/tab.c +++ b/patch/tab.c @@ -129,4 +129,5 @@ tabmode(const Arg *arg) else selmon->showtab = (selmon->showtab + 1 ) % showtab_nmodes; arrange(selmon); -} \ No newline at end of file +} + diff --git a/patch/tab.h b/patch/tab.h index 7b4d20f..44161d7 100644 --- a/patch/tab.h +++ b/patch/tab.h @@ -2,3 +2,4 @@ static void drawtab(Monitor *m); static void drawtabs(void); static void focuswin(const Arg* arg); static void tabmode(const Arg *arg); + diff --git a/patch/tagall.c b/patch/tagall.c index 81f44e0..7abe7cc 100644 --- a/patch/tagall.c +++ b/patch/tagall.c @@ -22,4 +22,5 @@ tagall(const Arg *arg) } } arrange(selmon); -} \ No newline at end of file +} + diff --git a/patch/tagall.h b/patch/tagall.h index 09fe4d1..f36c9f8 100644 --- a/patch/tagall.h +++ b/patch/tagall.h @@ -1 +1,2 @@ -static void tagall(const Arg *arg); \ No newline at end of file +static void tagall(const Arg *arg); + diff --git a/patch/tagallmon.c b/patch/tagallmon.c index f863b6d..d6b879a 100644 --- a/patch/tagallmon.c +++ b/patch/tagallmon.c @@ -45,4 +45,5 @@ tagallmon(const Arg *arg) focus(NULL); arrange(NULL); -} \ No newline at end of file +} + diff --git a/patch/tagallmon.h b/patch/tagallmon.h index e409024..9abf535 100644 --- a/patch/tagallmon.h +++ b/patch/tagallmon.h @@ -1 +1,2 @@ -static void tagallmon(const Arg *arg); \ No newline at end of file +static void tagallmon(const Arg *arg); + diff --git a/patch/tagothermonitor.c b/patch/tagothermonitor.c index ddeaff8..d12f6ff 100644 --- a/patch/tagothermonitor.c +++ b/patch/tagothermonitor.c @@ -41,3 +41,4 @@ tagothermon(const Arg *arg, int dir) arrange(newmon); } } + diff --git a/patch/tagothermonitor.h b/patch/tagothermonitor.h index e2aa24f..8ebe975 100644 --- a/patch/tagothermonitor.h +++ b/patch/tagothermonitor.h @@ -6,3 +6,4 @@ static void tagprevmonex(const Arg *arg); static void tagnextmon(const Arg *arg); static void tagprevmon(const Arg *arg); static void tagothermon(const Arg *arg, int dir); + diff --git a/patch/tagswapmon.c b/patch/tagswapmon.c index a6f8a32..4719b8c 100644 --- a/patch/tagswapmon.c +++ b/patch/tagswapmon.c @@ -71,4 +71,5 @@ tagswapmon(const Arg *arg) focus(NULL); arrange(NULL); -} \ No newline at end of file +} + diff --git a/patch/tagswapmon.h b/patch/tagswapmon.h index 433f4b1..949f591 100644 --- a/patch/tagswapmon.h +++ b/patch/tagswapmon.h @@ -1 +1,2 @@ -static void tagswapmon(const Arg *arg); \ No newline at end of file +static void tagswapmon(const Arg *arg); + diff --git a/patch/tapresize.c b/patch/tapresize.c index 546aa50..c236b5d 100644 --- a/patch/tapresize.c +++ b/patch/tapresize.c @@ -36,3 +36,4 @@ resizemousescroll(const Arg *arg) focus(NULL); } } + diff --git a/patch/tapresize.h b/patch/tapresize.h index 867f9a0..fe6d227 100644 --- a/patch/tapresize.h +++ b/patch/tapresize.h @@ -1 +1,2 @@ static void resizemousescroll(const Arg *arg); + diff --git a/patch/togglefullscreen.c b/patch/togglefullscreen.c index 3bb9101..18857f5 100644 --- a/patch/togglefullscreen.c +++ b/patch/togglefullscreen.c @@ -15,3 +15,4 @@ togglefullscreen(const Arg *arg) setfullscreen(c, !c->isfullscreen); #endif // FAKEFULLSCREEN_CLIENT_PATCH } + diff --git a/patch/togglefullscreen.h b/patch/togglefullscreen.h index 7e1126a..96a6770 100644 --- a/patch/togglefullscreen.h +++ b/patch/togglefullscreen.h @@ -1 +1,2 @@ -static void togglefullscreen(const Arg *arg); \ No newline at end of file +static void togglefullscreen(const Arg *arg); + diff --git a/patch/transfer.c b/patch/transfer.c index 0a99f31..ce64319 100644 --- a/patch/transfer.c +++ b/patch/transfer.c @@ -31,3 +31,4 @@ transfer(const Arg *arg) } arrange(selmon); } + diff --git a/patch/transfer.h b/patch/transfer.h index a8436dd..e887dae 100644 --- a/patch/transfer.h +++ b/patch/transfer.h @@ -1 +1,2 @@ -static void transfer(const Arg *arg); \ No newline at end of file +static void transfer(const Arg *arg); + diff --git a/patch/transferall.c b/patch/transferall.c index fe12699..ee823b1 100644 --- a/patch/transferall.c +++ b/patch/transferall.c @@ -22,4 +22,5 @@ transferall(const Arg *arg) } selmon->nmaster = nstackclients; arrange(selmon); -} \ No newline at end of file +} + diff --git a/patch/transferall.h b/patch/transferall.h index 5556468..a424ec8 100644 --- a/patch/transferall.h +++ b/patch/transferall.h @@ -1 +1,2 @@ -static void transferall(const Arg *arg); \ No newline at end of file +static void transferall(const Arg *arg); + diff --git a/patch/unfloatvisible.c b/patch/unfloatvisible.c index 8f0360d..fb8888f 100644 --- a/patch/unfloatvisible.c +++ b/patch/unfloatvisible.c @@ -11,4 +11,5 @@ unfloatvisible(const Arg *arg) setlayout(arg); else arrange(selmon); -} \ No newline at end of file +} + diff --git a/patch/unfloatvisible.h b/patch/unfloatvisible.h index 690b6ef..f15bc66 100644 --- a/patch/unfloatvisible.h +++ b/patch/unfloatvisible.h @@ -1 +1,2 @@ -static void unfloatvisible(const Arg *arg); \ No newline at end of file +static void unfloatvisible(const Arg *arg); + diff --git a/patch/vanitygaps.c b/patch/vanitygaps.c index f18a7c3..be2ef08 100644 --- a/patch/vanitygaps.c +++ b/patch/vanitygaps.c @@ -196,3 +196,4 @@ getgaps(Monitor *m, int *oh, int *ov, int *ih, int *iv, unsigned int *nc) *nc = n; // number of clients } #endif + diff --git a/patch/vanitygaps.h b/patch/vanitygaps.h index c3eb622..b8f2109 100644 --- a/patch/vanitygaps.h +++ b/patch/vanitygaps.h @@ -16,4 +16,5 @@ static void getgaps(Monitor *m, int *oh, int *ov, int *ih, int *iv, unsigned int static void setgaps(int oh, int ov, int ih, int iv); #if IPC_PATCH || DWMC_PATCH static void setgapsex(const Arg *arg); -#endif // IPC_PATCH | DWMC_PATCH \ No newline at end of file +#endif // IPC_PATCH | DWMC_PATCH + diff --git a/patch/warp.c b/patch/warp.c index 4183818..16f1605 100644 --- a/patch/warp.c +++ b/patch/warp.c @@ -35,3 +35,4 @@ warp(const Client *c) XWarpPointer(dpy, None, c->win, 0, 0, 0, 0, c->w / 2, c->h / 2); } + diff --git a/patch/warp.h b/patch/warp.h index 6657dc1..d79d75f 100644 --- a/patch/warp.h +++ b/patch/warp.h @@ -1 +1,2 @@ -static void warp(const Client *c); \ No newline at end of file +static void warp(const Client *c); + diff --git a/patch/winview.c b/patch/winview.c index a73ee66..f54c20c 100644 --- a/patch/winview.c +++ b/patch/winview.c @@ -17,4 +17,5 @@ winview(const Arg* arg) a.ui = c->tags; view(&a); -} \ No newline at end of file +} + diff --git a/patch/winview.h b/patch/winview.h index a240533..9c2ec97 100644 --- a/patch/winview.h +++ b/patch/winview.h @@ -1 +1,2 @@ -static void winview(const Arg* arg); \ No newline at end of file +static void winview(const Arg* arg); + diff --git a/patch/xkb.c b/patch/xkb.c index 0ce2cec..d779733 100644 --- a/patch/xkb.c +++ b/patch/xkb.c @@ -65,3 +65,4 @@ click_xkb(Bar *bar, Arg *arg, BarArg *a) { return ClkXKB; } + diff --git a/patch/xkb.h b/patch/xkb.h index abe7c2c..2c6d33a 100644 --- a/patch/xkb.h +++ b/patch/xkb.h @@ -4,4 +4,5 @@ static void xkbeventnotify(XEvent *e); static int width_xkb(Bar *bar, BarArg *a); static int draw_xkb(Bar *bar, BarArg *a); -static int click_xkb(Bar *bar, Arg *arg, BarArg *a); \ No newline at end of file +static int click_xkb(Bar *bar, Arg *arg, BarArg *a); + diff --git a/patch/xrdb.c b/patch/xrdb.c index d59ecbd..1490ace 100644 --- a/patch/xrdb.c +++ b/patch/xrdb.c @@ -124,4 +124,5 @@ xrdb(const Arg *arg) ); focus(NULL); arrange(NULL); -} \ No newline at end of file +} + diff --git a/patch/xrdb.h b/patch/xrdb.h index 304f2e2..3787bec 100644 --- a/patch/xrdb.h +++ b/patch/xrdb.h @@ -19,3 +19,4 @@ static void loadxrdb(void); static void xrdb(const Arg *arg); + diff --git a/patch/zoomswap.c b/patch/zoomswap.c index d7f57c4..58ee9d4 100644 --- a/patch/zoomswap.c +++ b/patch/zoomswap.c @@ -10,4 +10,5 @@ findbefore(Client *c) { return NULL; for (p = c->mon->clients; p && p->next != c; p = p->next); return p; -} \ No newline at end of file +} + diff --git a/patch/zoomswap.h b/patch/zoomswap.h index 21cc848..22c752a 100644 --- a/patch/zoomswap.h +++ b/patch/zoomswap.h @@ -1 +1,2 @@ -static Client *findbefore(Client *c); \ No newline at end of file +static Client *findbefore(Client *c); + diff --git a/patches.def.h b/patches.def.h index 6212562..da352a1 100644 --- a/patches.def.h +++ b/patches.def.h @@ -1257,3 +1257,4 @@ * This can be optionally disabled in favour of other layouts. */ #define MONOCLE_LAYOUT 1 + diff --git a/transient.c b/transient.c index 040adb5..158460f 100644 --- a/transient.c +++ b/transient.c @@ -40,3 +40,4 @@ int main(void) { XCloseDisplay(d); exit(0); } + diff --git a/util.c b/util.c index fe044fc..bcecb12 100644 --- a/util.c +++ b/util.c @@ -33,3 +33,4 @@ die(const char *fmt, ...) { exit(1); } + diff --git a/util.h b/util.h index 3059148..1e3cf9a 100644 --- a/util.h +++ b/util.h @@ -16,3 +16,4 @@ void die(const char *fmt, ...); void *ecalloc(size_t nmemb, size_t size); +