commit 45a90b05971bbed6dd2d37a88f4fb861e01f04bb parent 06558a8cc94fd4cd115026715193810644f1295b Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Wed, 27 Jan 2021 08:47:34 +0100 add josuah's scrollback script Diffstat:
A | .local/bin/scrollback | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/.local/bin/scrollback b/.local/bin/scrollback @@ -0,0 +1,3 @@ +#!/bin/sh -eu +pid=$(xprop | awk '/_NET_WM_PID/ { print $3 }') +exec less -RS "${HOME}/.cache/st/$(date +%Y-%m-%d)/"*".$pid"