aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/config.h b/config.h
index afe4eae..3c47de6 100644
--- a/config.h
+++ b/config.h
@@ -90,9 +90,10 @@ static const char *passcmd_type[] = { "passmenu", "--type", DMENU_FLAGS, NULL
static const char *snip_cmd[] = { "snipmenu", DMENU_FLAGS, NULL };
static const char *screenshot_cmd[] = { "xfce4-screenshooter", NULL };
static const char *file_cmd[] = { "thunar", NULL };
-static const char *slock_cmd[] = { "slock", NULL };
-static const char *volup_cmd[] = { "vol", "up", NULL };
-static const char *voldn_cmd[] = { "vol", "down", NULL };
+static const char *slock_cmd[] = { "slock", NULL };
+static const char *volup_cmd[] = { "vol", "up", NULL };
+static const char *voldn_cmd[] = { "vol", "down", NULL };
+static const char *monitor_cmd[] = { "sh", "monitor/laptop", NULL };
static Key keys[] = {
/* modifier key function argument */
@@ -105,6 +106,9 @@ static Key keys[] = {
{ MODKEY, XK_o, spawn, {.v = passcmd_type } },
{ MODKEY|ShiftMask, XK_s, spawn, {.v = snip_cmd } },
{ MODKEY|ControlMask, XK_f, spawn, {.v = file_cmd } },
+ { MODKEY|ControlMask, XK_l, spawn, {.v = slock_cmd } },
+ { MODKEY|ControlMask, XK_m, spawn, {.v = monitor_cmd } },
+ { 0, XK_Scroll_Lock, spawn, {.v = slock_cmd } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
@@ -142,8 +146,6 @@ static Key keys[] = {
TAGKEYS( XK_7, 6)
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
- { 0, XK_Scroll_Lock, spawn, {.v = slock_cmd } },
- { MODKEY|ControlMask, XK_L, spawn, {.v = slock_cmd } },
{ MODKEY|ShiftMask, XK_r, self_restart, {0} },
{ MODKEY|ShiftMask, XK_e, quit, {0} },
};