citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

commit 9c2ea77b254f06877662e887df107eda2b9c3028
parent 4b2a56f9923448b23a554574737a30d4f390dfcf
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 21 Dec 2020 12:04:15 -0800

misc

Diffstat:
Abin/etdate | 2++
Abin/steamoji-only-code | 4++++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/bin/etdate b/bin/etdate @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +TZ="America/Toronto" mydate diff --git a/bin/steamoji-only-code b/bin/steamoji-only-code @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +out=$(steamoji-code | tail -n1 | sed -E -n 's,.*([1-9]{6}),\1,p') +xclip <<<"$out" +echo "$out"