alt-ctrl screenshot added

This commit is contained in:
2016-06-12 18:52:34 -06:00
parent da9000de7a
commit 7c6d9e6599
+4 -1
View File
@@ -5,7 +5,7 @@
/* appearance */
static const char font[] = "Inconsolataicon-12";
#define NUMCOLORS 9
#define NUMCOLORS 9
static const char colors[NUMCOLORS][ColLast][9] = {
// border foreground background
{ "#212121", "#00FFFF", "#2F4F4F" }, // 0 = normal
@@ -66,6 +66,8 @@ static const char *mute[] = { "amixer", "sset", "Master", "toggle", NULL};
static const char *cmusplaypause[] = { "cmus-remote", "-u", NULL};
static const char *cmusnext[] = { "cmus-remote", "--next", NULL};
static const char *cmusprev[] = { "cmus-remote", "--prev", NULL};
/*screenshot*/
static const char *screenshot[] = { "scrot", NULL};
static Key keys[] = {
/* modifier key function argument */
@@ -77,6 +79,7 @@ static Key keys[] = {
{ MODKEY, XK_u, spawn, {.v = cmusplaypause} },
{ MODKEY, XK_bracketright, spawn, {.v = cmusnext} },
{ MODKEY, XK_bracketleft, spawn, {.v = cmusprev} },
{ MODKEY|ControlMask, XK_s, spawn, {.v = screenshot} },
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_b, togglebar, {0} },