screencap fix
This commit is contained in:
@@ -244,7 +244,7 @@ extern "C"
|
|||||||
|
|
||||||
void vene_screenshot(const Arg*)
|
void vene_screenshot(const Arg*)
|
||||||
{
|
{
|
||||||
Cmd scrot("scrot", "-s");
|
Cmd scrot("scrot", "-s", "-");
|
||||||
Cmd tee("tee", SCREEN_CAPS_DIR);
|
Cmd tee("tee", SCREEN_CAPS_DIR);
|
||||||
Cmd xclip("xclip", "-selection", "clipboard", "-t", "image/png");
|
Cmd xclip("xclip", "-selection", "clipboard", "-t", "image/png");
|
||||||
scrot | tee | xclip; // todo: cppipe < string
|
scrot | tee | xclip; // todo: cppipe < string
|
||||||
|
|||||||
Reference in New Issue
Block a user