From: Laslo Hunhold Date: Thu, 10 Aug 2017 20:22:39 +0000 (+0200) Subject: Reduce -o | -n to -s X-Git-Url: https://git.xinqibao.xyz/slstatus.git/commitdiff_plain/c9d47405f4ab3cf99d7d2116fbb7622c02a27e5e?hp=c9d47405f4ab3cf99d7d2116fbb7622c02a27e5e Reduce -o | -n to -s What we really want is to either output to WM_NAME or stdout. If we want just one single line, we do slstatus | head -n 1. ---