diff options
| author | MineralwaterXu <[email protected]> | 2020-12-01 20:58:11 +0800 |
|---|---|---|
| committer | MineralwaterXu <[email protected]> | 2020-12-01 20:58:11 +0800 |
| commit | 2e9e7c769f8aacc9c9b82df747112dcd5ce0b4c0 (patch) | |
| tree | 13eaab60d6671587883efefaee93d788d6d71927 /config.h | |
| parent | 39644747c3691e71fbe241dd5b20f05edda6edd4 (diff) | |
added sreenshot keybindings
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 } }, |
