summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-02-14 01:41:26 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-02-14 01:41:26 +0100
commita4aa9be12ed75debe27c651009ee261bd2101dce (patch)
treeacab000005ed0af9304cdd09192bdba862d8115c
parentd615d3a3d310c5f12a769af57ceee9c2436d2094 (diff)
Add keymap for screenshot
-rw-r--r--config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h b/config.h
index d5042d0..38d5079 100644
--- a/config.h
+++ b/config.h
@@ -159,6 +159,7 @@ static Key keys[] = {
{MODKEY, XK_r, spawn, SHCMD(TERMINAL " -e lf")},
{MODKEY | ShiftMask, XK_r, spawn, SHCMD(TERMINAL " -e btm")},
{MODKEY, XK_space, spawn, SHCMD("dmenu_run")},
+ {MODKEY, XK_p, spawn, SHCMD("scrot -s -q 100 screenshot.png")},
{MODKEY | ShiftMask, XK_s, spawn, SHCMD("slock")},
{MODKEY, XK_e, spawn,
SHCMD(TERMINAL " -e neomutt ; pkill -RTMIN+12 dwmblocks; rmdir ~/.abook")},