From 3837ac1855c39ac2d2acf6e307a43bd07f6517ee Mon Sep 17 00:00:00 2001 From: Julian T Date: Thu, 20 Dec 2018 17:49:51 +0100 Subject: Added shortcut for ranger --- config.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index b85e6c4..f16a1c5 100644 --- a/config.h +++ b/config.h @@ -86,6 +86,8 @@ static const char *brightup[] = { "xbacklight", "-inc", "5", NULL}; static const char *brightdown[] = { "xbacklight", "-dec", "5", NULL}; static const char *exitXsession[] = { "/home/julian/.dwmSession.sh", "-e" }; +static const char *openRanger[] = { "/home/julian/Scripts/openInRanger.sh" }; + #define MODKEY Mod1Mask #define TAGKEYS(KEY,TAG) \ { MODKEY, KEY, view, {.ui = 1 << TAG} }, \ @@ -144,8 +146,8 @@ static Key keys[] = { { 0, XF86XK_AudioMute, spawn, {.v = mutevol } }, { 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } }, { 0, XF86XK_MonBrightnessUp, spawn, {.v = brightup } }, - { 0, XF86XK_MonBrightnessDown, spawn, {.v = brightdown } } - + { 0, XF86XK_MonBrightnessDown, spawn, {.v = brightdown } }, + { MODKEY, XK_r, spawn, {.v = openRanger } } }; /* button definitions */ -- cgit v1.2.3