dwm: screenshot entire screen instantly by default
This commit is contained in:
parent
5e966a1ecc
commit
0ccc8380e7
@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Screenshot and save to disk.
|
||||
|
||||
rm ~/med/screen/latest.png
|
||||
sleep 0.1 && scrot -fs "$HOME/med/screen/latest.png" -e "cp ~/med/screen/latest.png ~/quar/screenshot-$(date +%s).png"
|
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Screenshot entire screen.
|
||||
|
||||
rm ~/med/screen/fullscreen.jpg
|
||||
scrot "$HOME/med/screen/fullscreen.jpg"
|
@ -126,8 +126,8 @@ static const Key keys[] = {
|
||||
{ MODKEY|ShiftMask, XK_m, spawn, SHCMD("qbprof mus") },
|
||||
{ MODKEY|ControlMask, XK_l, spawn, {.v = (const char*[]){ "/usr/local/bin/slock", NULL} } },
|
||||
{ MODKEY|ShiftMask, XK_s, spawn, SHCMD("~/.local/bin/deskutils/suspend.sh") },
|
||||
{ 0, XK_Print, spawn, SHCMD("~/.local/bin/deskutils/screenshot.sh") },
|
||||
{ ShiftMask, XK_Print, spawn, SHCMD("~/.local/bin/deskutils/screenshot-save.sh" ) },
|
||||
{ 0, XK_Print, spawn, SHCMD("~/.local/bin/deskutils/screenshot_full.sh") },
|
||||
{ ShiftMask, XK_Print, spawn, SHCMD("~/.local/bin/deskutils/screenshot.sh" ) },
|
||||
{ MODKEY, XK_z, spawn, TERMCMD("bookmk") },
|
||||
// SHCMD because we already start a terminal from inside clipedit.sh
|
||||
{ MODKEY|ShiftMask, XK_z, spawn, SHCMD("clipedit.sh") },
|
||||
|
Loading…
Reference in New Issue
Block a user