#!/usr/bin/env bash
# forked from https://gitlab.com/uoou/dotfiles/-/tree/master/stow/bin/home/drew/.local/bin/lace
-# https://github.com/frrobert2/lace/blob/main/laceandterm
+# https://raw.githubusercontent.com/frrobert2/lace/main/laceandterm
# Shows both how many days ago and date
# Modified to work with Debian running Sed 3.7
if [ -z "$XDG_CONFIG_HOME" ];then
#
if [[ "$1" == "nope" ]];then
- cat $tmpfile && rm -f $tmpfile $tmpfile2
+ cat $tmpfile2 && rm -f $tmpfile $tmpfile2
else
- less -RisW $tmpfile && rm -f $tmpfile $tmpfile2
+ less -RisW $tmpfile2 && rm -f $tmpfile $tmpfile2
fi
}