summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorCraig Jennings <craigmartinjennings@gmail.com>2023-09-27 11:28:16 -0500
committerCraig Jennings <craigmartinjennings@gmail.com>2023-09-27 11:28:16 -0500
commitf5cd85d515e066e2f179a54993e62265b75f9ba3 (patch)
treeab7e5da965d5ecce2fdf2cd65e2a1aa163d979c3 /config.def.h
parent319e7cea704d8d71e3e4514be91a964380673ded (diff)
adding screenshot command
maimpick is a shell script loaded via my dotfile system that leverages dmenu for many different screenshot types
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 052320e..09dd3ca 100644
--- a/config.def.h
+++ b/config.def.h
@@ -138,6 +138,7 @@ static const char *browsercmd[] = { "firefox", NULL }; // default browser; resp
static const char *editorcmd[] = { "emacs", NULL }; // default editor; respects $VISUAL env variable
static const char *torbrowsercmd[] = { "tor-browser", NULL };
static const char *bluetoothcmd[] = { "blueman-manager", NULL };
+static const char *screenshotcmd[] = { "maimpick", NULL };
static const char *exitcmd[] = { "dmenuexitmenu", NULL }; // script that provides exit options
/* volume control */
@@ -198,6 +199,7 @@ static Key keys[] = {
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol } },
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } },
{ MODKEY|ShiftMask, XK_b, spawn, {.v = bluetoothcmd } },
+ { 0, XK_Print, spawn, {.v = screenshotcmd } },
{ MODKEY|ShiftMask, XK_q, spawn, {.v = exitcmd } },
{ MODKEY|ShiftMask, XK_BackSpace, quit, {0} },
{ MODKEY|ShiftMask, XK_Escape, self_restart, {0} },