summaryrefslogtreecommitdiff
path: root/mut/dwm/config.h
diff options
context:
space:
mode:
authorMike Vink <ivi@vinkies.net>2024-09-05 11:47:27 +0200
committerMike Vink <ivi@vinkies.net>2024-09-05 11:47:27 +0200
commitb89f42a3ac8d42da4c5ce4340c33a759dc703a4a (patch)
tree72e4f2d442eb76c8344628158decc16ef76c5e8a /mut/dwm/config.h
parentde034b4197adf5c768330dbd2c21e844762056fa (diff)
some tweaks to make copying better
Diffstat (limited to 'mut/dwm/config.h')
-rw-r--r--mut/dwm/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mut/dwm/config.h b/mut/dwm/config.h
index e0171e7..374654a 100644
--- a/mut/dwm/config.h
+++ b/mut/dwm/config.h
@@ -254,7 +254,7 @@ static const Key keys[] = {
{ MODKEY, XK_space, zoom, {0} },
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
- { 0, XK_Print, spawn, SHCMD("maim pic-full-$(date '+%y%m%d-%H%M-%S').png") },
+ { 0, XK_Print, spawn, SHCMD("maim -q -d 0.2 -i \"$(xdotool getactivewindow)\" | xclip -f -t image/png | xclip -sel c -t image/png ") },
{ ShiftMask, XK_Print, spawn, {.v = (const char*[]){ "maimpick", NULL } } },
{ MODKEY, XK_Print, spawn, {.v = (const char*[]){ "dmenurecord", NULL } } },
{ MODKEY|ShiftMask, XK_Print, spawn, {.v = (const char*[]){ "dmenurecord", "kill", NULL } } },