#! /usr/bin/env dash # shellcheck source=/dev/null SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH date="$(date +%s)" grim -g "$(slurp)" "$HOME/media/pictures/screenshots/$date.png" && alacritty -e ll -command ":{{ set sortby atime; set reverse!; }}" "$HOME/media/pictures/screenshots/$date.png" # vim: ft=sh