blob: 732f3e768f6a8efcd7c7c4db3fd97cd55a4f912f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#! /usr/bin/env dash
# shellcheck disable=SC2086
# shellcheck source=/dev/null
. %SHELL_LIBRARY_PATH
grim -g "$(slurp)" ~/media/pictures/screenshots/"$(date +%s)".png &&
alacritty -e llp -command ":{{ set sortby atime; set reverse!; }}" ~/media/pictures/screenshots
if [ -d /tmp/LIB_FILE_TEMP_DIR/ ];then rm -r /tmp/LIB_FILE_TEMP_DIR/; fi
|