From e3594813917e8b8a162c701162432c9ee24a3551 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Thu, 16 May 2019 10:51:50 +0100 Subject: [PATCH] Adds greenclip and date shortcuts --- config.def.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config.def.h b/config.def.h index 27116ad..ab4cdc1 100644 --- a/config.def.h +++ b/config.def.h @@ -65,8 +65,12 @@ static const char *fullscreenshot[] = { "screenshot", NULL }; static const char *activescreenshot[] = { "screenshot", "window", NULL }; static const char *selectscreenshot[] = { "screenshot", "select", NULL }; +static const char *greenclip[] = { "rofi", "-modi", "clipboard:greenclip print", "-show", "clipboard", "-run-command", "{cmd}", NULL }; + static const char *qutebrowser[] = { "qutebrowser", NULL }; +static const char *date[] = { "datetime", NULL }; + #include "movestack.c" static Key keys[] = { /* modifier key function argument */ @@ -98,6 +102,8 @@ static Key keys[] = { { 0, XK_Print, spawn, {.v = fullscreenshot } }, { ControlMask, XK_Print, spawn, {.v = activescreenshot } }, { ShiftMask, XK_Print, spawn, {.v = selectscreenshot } }, + { MODKEY|ShiftMask, XK_d, spawn, {.v = date } }, + { MODKEY|ShiftMask, XK_Insert, spawn, {.v = greenclip } }, //Applications { MODKEY|ShiftMask, XK_q, spawn, {.v = qutebrowser } }, TAGKEYS( XK_1, 0)