shithub: wiki.9front.org

Download patch

ref: 2ea16ab532ac62135b109d5d25820fbc2feec859
parent: 1557205fc2a8aafa64e8beea64ec084b3c3031df
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Tue Aug 4 06:07:08 EDT 2020

rio: screenshots

--- a/rio-tips-and-tricks.md
+++ b/rio-tips-and-tricks.md
@@ -35,3 +35,7 @@
 consider doing it directly instead: `command arg arg >/dev/snarf`.
 
 Want to do advanced searching on window's text? Run your favorite text editor on it: `sam /dev/text`.
+
+Want to take a screenshot of a window, but no idea which id that window has? Try seaching by its label:
+`grep sam /dev/wsys/*/label`. Replace the `label` in the path to `window` and take the screenshot:
+`topng </dev/wsys/X/window >/n/mycoolblog.com/www/files/acme.png`.