summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorMineralwaterXu <[email protected]>2020-12-01 20:58:11 +0800
committerMineralwaterXu <[email protected]>2020-12-01 20:58:11 +0800
commit2e9e7c769f8aacc9c9b82df747112dcd5ce0b4c0 (patch)
tree13eaab60d6671587883efefaee93d788d6d71927 /config.h
parent39644747c3691e71fbe241dd5b20f05edda6edd4 (diff)
added sreenshot keybindings
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 3 insertions, 0 deletions
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 } },