screenshot to clip
This commit is contained in:
@@ -248,6 +248,14 @@ extern "C"
|
||||
}
|
||||
}
|
||||
|
||||
void vene_screenshot(const Arg*)
|
||||
{
|
||||
Cmd scrot("scrot", "-s");
|
||||
Cmd tee("tee", SCREEN_CAPS_DIR);
|
||||
Cmd xclip("xclip", "-selection", "clipboard", "-t", "image/png");
|
||||
scrot | tee | xclip; // todo: cppipe < string
|
||||
}
|
||||
|
||||
void vene_browser(const Arg* browser_tag)
|
||||
{
|
||||
bool browser_tag_used = false;
|
||||
|
||||
Reference in New Issue
Block a user