From 03dd4dc6350760f04ca168d8fc17dbc62b671296 Mon Sep 17 00:00:00 2001 From: Julian T Date: Fri, 21 Dec 2018 16:56:18 +0100 Subject: Added mount fstab keyshortcut --- config.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 */ -- cgit v1.2.3