summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2018-12-20 17:49:51 +0100
committerJulian T <julian@jtle.dk>2018-12-20 17:49:51 +0100
commit3837ac1855c39ac2d2acf6e307a43bd07f6517ee (patch)
treee83e9f2258743faa3748d1ba79fed3e28a14f829 /config.h
parent0f7c157efaa0c2febf0531bfa6d2b6c29c492c06 (diff)
Added shortcut for ranger
Diffstat (limited to 'config.h')
-rw-r--r--config.h6
1 files changed, 4 insertions, 2 deletions
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 */