screencap fix

This commit is contained in:
Venelin Dechkov
2026-07-30 11:54:49 +03:00
parent 56f7f07bf6
commit eae82e465d
+1 -1
View File
@@ -244,7 +244,7 @@ extern "C"
void vene_screenshot(const Arg*)
{
Cmd scrot("scrot", "-s");
Cmd scrot("scrot", "-s", "-");
Cmd tee("tee", SCREEN_CAPS_DIR);
Cmd xclip("xclip", "-selection", "clipboard", "-t", "image/png");
scrot | tee | xclip; // todo: cppipe < string