From fcf8d0c0246b353f255eb5173cd8cd3748f8da3b Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Thu, 1 Jan 1970 03:00:00 +0300 Subject: chore: init --- screenshot | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 screenshot (limited to 'screenshot') diff --git a/screenshot b/screenshot new file mode 100755 index 0000000..e101d3e --- /dev/null +++ b/screenshot @@ -0,0 +1,6 @@ +#!/bin/sh + +picdir="${XDG_PICTURES_DIR}/screenshots" +pic="${picdir}/$(date +%Y-%m-%d_%H-%M-%S).png" + +maim --format=png --hidecursor --quality 8 "${pic}" -- cgit 1.4.1