screencap fix
This commit is contained in:
1 parent
56f7f07bf6
commit
eae82e465d
1 file changed
+1
-1
@@ -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