summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2018-12-21 16:56:18 +0100
committerJulian T <julian@jtle.dk>2018-12-21 16:56:18 +0100
commit03dd4dc6350760f04ca168d8fc17dbc62b671296 (patch)
tree8c908ce6c3487770aaaa66b1e7200ac9e641d8f7
parent3837ac1855c39ac2d2acf6e307a43bd07f6517ee (diff)
Added mount fstab keyshortcut
-rw-r--r--config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.h b/config.h
index f16a1c5..248fb9d 100644
--- a/config.h
+++ b/config.h
@@ -87,6 +87,7 @@ 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" };
+static const char *mountFstab[] = { "/home/julian/Scripts/mountFstab.sh" };
#define MODKEY Mod1Mask
#define TAGKEYS(KEY,TAG) \
@@ -147,7 +148,8 @@ static Key keys[] = {
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } },
{ 0, XF86XK_MonBrightnessUp, spawn, {.v = brightup } },
{ 0, XF86XK_MonBrightnessDown, spawn, {.v = brightdown } },
- { MODKEY, XK_r, spawn, {.v = openRanger } }
+ { MODKEY, XK_r, spawn, {.v = openRanger } },
+ { MODKEY|ShiftMask, XK_m, spawn, {.v = mountFstab } }
};
/* button definitions */