From 429c61238bf49d490b0f1aa17134beeca8364e82 Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Mon, 4 May 2020 12:55:53 +0530 Subject: # --- bin/.local/bin/screenshot | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 bin/.local/bin/screenshot diff --git a/bin/.local/bin/screenshot b/bin/.local/bin/screenshot new file mode 100755 index 0000000..107faf7 --- /dev/null +++ b/bin/.local/bin/screenshot @@ -0,0 +1,16 @@ +#!/bin/bash +screenshot() { + case $1 in + full) + scrot -m + ;; + window) + sleep 1 + scrot -s + ;; + *) + ;; + esac; +} + +screenshot $1 -- cgit v1.2.3