cleaned up formating

This commit is contained in:
2018-02-11 20:47:34 -07:00
parent 90c41c12b6
commit ef3b958097
+5 -5
View File
@@ -56,10 +56,10 @@ static const Layout layouts[] = {
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
/* commands */ /* commands */
static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", colors[0][ColBG], "-nf", colors[0][ColFG], "-sb", colors[1][ColBG], "-sf", colors[1][ColFG], NULL }; static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", colors[0][ColBG], "-nf", colors[0][ColFG], "-sb", colors[1][ColBG], "-sf", colors[1][ColFG], NULL };
static const char *termcmd[] = { "termite", NULL }; static const char *termcmd[] = { "termite", NULL };
/*functions for volume control*/ /*functions for volume control*/
static const char *upvol[] = { "volumeset", "up", NULL }; static const char *upvol[] = { "volumeset", "up", NULL };
static const char *downvol[] = { "volumeset", "down", NULL }; static const char *downvol[] = { "volumeset", "down", NULL };
static const char *mute[] = { "volumeset", "mute", NULL }; static const char *mute[] = { "volumeset", "mute", NULL };
/*cmus functions*/ /*cmus functions*/
@@ -76,9 +76,9 @@ static Key keys[] = {
{ 0, XF86XK_AudioMute, spawn, {.v = mute } }, { 0, XF86XK_AudioMute, spawn, {.v = mute } },
{ 0, XF86XK_AudioPlay, spawn, {.v = cmusplaypause} }, { 0, XF86XK_AudioPlay, spawn, {.v = cmusplaypause} },
{ 0, XF86XK_AudioPause, spawn, {.v = cmusplaypause} }, { 0, XF86XK_AudioPause, spawn, {.v = cmusplaypause} },
{ MODKEY, XK_u, spawn, {.v = cmusplaypause} }, { MODKEY, XK_u, spawn, {.v = cmusplaypause} },
{ MODKEY, XK_bracketright, spawn, {.v = cmusnext} }, { MODKEY, XK_bracketright, spawn, {.v = cmusnext} },
{ MODKEY, XK_bracketleft, spawn, {.v = cmusprev} }, { MODKEY, XK_bracketleft, spawn, {.v = cmusprev} },
{ MODKEY|ControlMask, XK_s, spawn, {.v = screenshot} }, { MODKEY|ControlMask, XK_s, spawn, {.v = screenshot} },
{ MODKEY, XK_p, spawn, {.v = dmenucmd } }, { MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },