summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h b/config.h
index c8f2cfb..af638dd 100644
--- a/config.h
+++ b/config.h
@@ -172,6 +172,7 @@ static const Key keys[] = {
{MODKEY, XK_n, spawn, SHCMD("clipmenu")},
{MODKEY, XK_F12, spawn, SHCMD("scrot -e 'mv $f /home/mouad/Pictures/Screenshots/' && notify-send '📸 Screenshot taken'")},
+ {MODKEY|ShiftMask, XK_s, spawn, SHCMD("scrot -s /home/mouad/Pictures/Screengrabs/%Y-%m-%d-%H%M%S.png -e 'xclip -selection clipboard -t image/png -i $f && notify-send \"📸 Screenshot saved and copied\"'")},
};
/* button definitions */