diff options
author | Julian T <julian@jtle.dk> | 2018-12-20 17:49:51 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2018-12-20 17:49:51 +0100 |
commit | 3837ac1855c39ac2d2acf6e307a43bd07f6517ee (patch) | |
tree | e83e9f2258743faa3748d1ba79fed3e28a14f829 /config.h | |
parent | 0f7c157efaa0c2febf0531bfa6d2b6c29c492c06 (diff) |
Added shortcut for ranger
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 */ |