From 2bf1e79fb707157fe676fb406f95e14cd09ad70e Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Sat, 7 Aug 2021 00:23:11 +0800 Subject: update --- alias | 3 +++ 1 file changed, 3 insertions(+) (limited to 'alias') diff --git a/alias b/alias index 6d805b5..73b47ed 100644 --- a/alias +++ b/alias @@ -298,6 +298,9 @@ image_vertical() { image_horizontal() { convert "$@" +append output.png } +image_from_data_url() { + xsel -ob | sed -E 's/^.+,//' | base64 -d >$1 +} # thunderbird alias thunder.pull='rsync -a --delete pham@topo.tw:~/.thunderbird/ ~/.thunderbird &' -- cgit v1.2.3-70-g09d2