~smlavine/dwm

be17adedf1302393b40280b97e19e88dd37688c8 — Sebastian LaVine 4 months ago 53c8adf
Fix indentation
1 files changed, 28 insertions(+), 28 deletions(-)

M config.h
M config.h => config.h +28 -28
@@ 45,13 45,13 @@ static const int nmaster     = 1;    /* number of clients in master area */
static const int resizehints = 1;    /* 1 means respect size hints in tiled resizals */

static const Layout layouts[] = {
    /* symbol     arrange function */
	{ "T",      tile },    /* first entry is default */
	{ "F",      NULL },    /* no layout function means floating behavior */
	{ "M",      monocle },
	{ "G",      gaplessgrid },
	{ "S",      spiral },
	{ "D",      deck },
	/* symbol  arrange function */
	{ "T",     tile },    /* first entry is default */
	{ "F",     NULL },    /* no layout function means floating behavior */
	{ "M",     monocle },
	{ "G",     gaplessgrid },
	{ "S",     spiral },
	{ "D",     deck },
};

/* key definitions */


@@ 71,7 71,7 @@ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont,
static const char *termcmd[]  = { "st", NULL };

static Key keys[] = {
    /* modifier                     key        function        argument */
	/* modifier                     key        function        argument */
	{ MODKEY,                       XK_Return, spawn,          {.v = dmenucmd } },
	{ MODKEY,                       XK_space,  spawn,          {.v = termcmd } },
	{ MODKEY,                       XK_Tab,    zoom,           {0} },


@@ 108,26 108,26 @@ static Key keys[] = {
	TAGKEYS(                        XK_9,                      8)

	/* program keybindings */
    { MODKEY,                       XK_d,      spawn,          SHCMD("mycmus") },
    { MODKEY,                       XK_f,      spawn,          SHCMD("firefox") },
    { MODKEY|ShiftMask,             XK_h,      spawn,          SHCMD("st -e htop") },
    { MODKEY,                       XK_m,      spawn,          SHCMD("st -e cmus") },
    { MODKEY,                       XK_n,      spawn,          SHCMD("pausemusic") },
    { MODKEY,                       XK_o,      spawn,          SHCMD("watchyt -c") },
    { MODKEY|ShiftMask,             XK_o,      spawn,          SHCMD("watchyt -cd") },
    { MODKEY,                       XK_p,      spawn,          SHCMD("mypassmenu") },
    { MODKEY|ShiftMask,             XK_p,      spawn,          SHCMD("firefox --private-window") },
    { MODKEY,                       XK_s,      spawn,          SHCMD("shoot") },
    { MODKEY,                       XK_t,      spawn,          SHCMD("display-todo") },
    { MODKEY,                       XK_u,      spawn,          SHCMD("intlkey") },
    { MODKEY,                       XK_v,      spawn,          SHCMD("vol 5%-") },
    { MODKEY|ShiftMask,             XK_v,      spawn,          SHCMD("vol 5%+") },
    { MODKEY,                       XK_y,      spawn,          SHCMD("lastscreenshot") },
    { MODKEY|ShiftMask,             XK_BackSpace, spawn,       SHCMD("quitdwm") },
    { MODKEY,                       XK_End,    spawn,          SHCMD("sudo light -U 5") },
    { MODKEY,                       XK_Escape, spawn,          SHCMD("dunstctl close") },
    { MODKEY,                       XK_Caps_Lock, spawn,       SHCMD("dunstctl close") },
    { MODKEY,                       XK_Home,   spawn,          SHCMD("sudo light -A 5") },
	{ MODKEY,                       XK_d,         spawn,       SHCMD("mycmus") },
	{ MODKEY,                       XK_f,         spawn,       SHCMD("firefox") },
	{ MODKEY|ShiftMask,             XK_h,         spawn,       SHCMD("st -e htop") },
	{ MODKEY,                       XK_m,         spawn,       SHCMD("st -e cmus") },
	{ MODKEY,                       XK_n,         spawn,       SHCMD("pausemusic") },
	{ MODKEY,                       XK_o,         spawn,       SHCMD("watchyt -c") },
	{ MODKEY|ShiftMask,             XK_o,         spawn,       SHCMD("watchyt -cd") },
	{ MODKEY,                       XK_p,         spawn,       SHCMD("mypassmenu") },
	{ MODKEY|ShiftMask,             XK_p,         spawn,       SHCMD("firefox --private-window") },
	{ MODKEY,                       XK_s,         spawn,       SHCMD("shoot") },
	{ MODKEY,                       XK_t,         spawn,       SHCMD("display-todo") },
	{ MODKEY,                       XK_u,         spawn,       SHCMD("intlkey") },
	{ MODKEY,                       XK_v,         spawn,       SHCMD("vol 5%-") },
	{ MODKEY|ShiftMask,             XK_v,         spawn,       SHCMD("vol 5%+") },
	{ MODKEY,                       XK_y,         spawn,       SHCMD("lastscreenshot") },
	{ MODKEY|ShiftMask,             XK_BackSpace, spawn,       SHCMD("quitdwm") },
	{ MODKEY,                       XK_End,       spawn,       SHCMD("sudo light -U 5") },
	{ MODKEY,                       XK_Escape,    spawn,       SHCMD("dunstctl close") },
	{ MODKEY,                       XK_Caps_Lock, spawn,       SHCMD("dunstctl close") },
	{ MODKEY,                       XK_Home,      spawn,       SHCMD("sudo light -A 5") },
};

/* button definitions */