From 2e9e7c769f8aacc9c9b82df747112dcd5ce0b4c0 Mon Sep 17 00:00:00 2001 From: MineralwaterXu Date: Tue, 1 Dec 2020 20:58:11 +0800 Subject: added sreenshot keybindings --- config.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index 813680e..4eb24f0 100644 --- a/config.h +++ b/config.h @@ -95,6 +95,8 @@ static const char *upvol[] = { "/home/mineralwater/scripts/vol-up.sh", NULL }; static const char *downvol[] = { "/home/mineralwater/scripts/vol-down.sh", NULL }; static const char *mutevol[] = { "/home/mineralwater/scripts/vol-toggle.sh", NULL }; +static const char *screenshotcmd[] = { "flameshot", "gui", NULL }; + static Key keys[] = { /* modifier key function argument */ @@ -104,6 +106,7 @@ static Key keys[] = { { MODKEY, XK_F10, spawn, {.v = downvol } }, { MODKEY, XK_F11, spawn, {.v = upvol } }, { MODKEY, XK_F9, spawn, {.v = mutevol } }, + { 0, XK_Print, spawn, {.v = screenshotcmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY|ShiftMask, XK_j, rotatestack, {.i = +1 } }, { MODKEY|ShiftMask, XK_k, rotatestack, {.i = -1 } }, -- cgit v1.2.1