commit 0997c7cdbbea9dda67787b3d910a07eb24e2b61f
parent aa88ad9ef9a18b3e52896ad8d183eea44e0fb593
Author: Luke Jones <luke.jones.2567@gmail.com>
Date: Thu, 15 Oct 2026 08:36:57 +0100
feat: scrot keybind
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/config.def.h b/config.def.h
@@ -125,8 +125,8 @@ static const Layout layouts[] = {
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "dmenu_run_desktop", "-x", "4", "-y", "4", "-z", "320", NULL };
static const char *pmenucmd[] = { "/home/lukep/.lprof/shared/bin/pmenu", NULL };
-
static const char *termcmd[] = { "terminator", NULL };
+static const char *scrotcmd[] = { "scrot", "-fs", NULL };
#if ZOOM
static const char *zoomin[] = { "vcompmgr", "-Z", "+0.15", NULL }; // zoom in
@@ -257,6 +257,7 @@ static const Key keys[] = {
{ 0, XF86XK_AudioMicMute, spawn, {.v = volumemutecmd } },
{ 0, XF86XK_MonBrightnessUp, spawn, {.v = brightnessupcmd } },
{ 0, XF86XK_MonBrightnessDown, spawn, {.v = brightnessdowncmd } },
+ { 0, XK_Print, spawn, {.v = scrotcmd } },
};
/* button definitions */