summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/config.h b/config.h
index dd8c229..a713e8c 100644
--- a/config.h
+++ b/config.h
@@ -72,7 +72,6 @@ static const Layout layouts[] = {
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
static const char *termcmd[] = { TERMINAL, NULL };
-static const char *cmdprintscreen[] = { "scrot", "~/Pictures/%Y-%m.jpg", NULL };
static const char *volumeup[] = { "amixer", "sset", "Master", "5%+", NULL };
static const char *volumedown[] = { "amixer", "sset", "Master", "5%-", NULL };
static const char *volumetoggle[] = { "amixer", "sset", "Master", "toggle", NULL };
@@ -126,17 +125,17 @@ static const Key keys[] = {
{ MODKEY|ShiftMask, XK_j, rotatestack, {.i = +1 } },
{ MODKEY|ShiftMask, XK_k, rotatestack, {.i = -1 } },
{ MODKEY|ShiftMask, XK_m, spawn, {.v = (const char*[]){ TERMINAL, "-e", "neomutt", NULL } }},
- { ControlMask|ShiftMask, XK_Escape, spawn, {.v = (const char*[]){ TERMINAL, "-e", "htop", NULL } }},
+ { MODKEY|ShiftMask, XK_h, spawn, {.v = (const char*[]){ TERMINAL, "-e", "htop", NULL } }},
{ MODKEY|ShiftMask, XK_e, spawn, {.v = (const char*[]){ TERMINAL, "-e", "lfub", NULL } }},
- { MODKEY, XK_Print, spawn, {.v = cmdprintscreen } },
- { 0, XF86XK_AudioRaiseVolume, spawn, {.v = volumeup } },
- { 0, XF86XK_AudioLowerVolume, spawn, {.v = volumedown } },
+ { MODKEY, XK_Print, spawn, SHCMD("scrot -q 100 ~/Pictures/%Y-%m.jpg") },
{ MODKEY, XK_Up, spawn, {.v = volumeup } },
{ MODKEY, XK_Down, spawn, {.v = volumedown } },
{ MODKEY, XK_Right, spawn, {.v = fasterbrightnessup } },
{ MODKEY, XK_Left, spawn, {.v = fasterbrightnessdown } },
{ MODKEY|ControlMask, XK_Right, spawn, {.v = brightnessup } },
{ MODKEY|ControlMask, XK_Left, spawn, {.v = brightnessdown } },
+ { 0, XF86XK_AudioRaiseVolume, spawn, {.v = volumeup } },
+ { 0, XF86XK_AudioLowerVolume, spawn, {.v = volumedown } },
{ 0, XF86XK_AudioMute, spawn, {.v = volumetoggle } },
{ 0, XF86XK_MonBrightnessUp, spawn, {.v = fasterbrightnessup } },
{ 0, XF86XK_MonBrightnessDown, spawn, {.v = fasterbrightnessdown } },