summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorShubham Saini <shubham6405@gmail.com>2020-05-04 07:25:53 +0000
committerShubham Saini <shubham6405@gmail.com>2020-05-04 07:25:53 +0000
commit429c61238bf49d490b0f1aa17134beeca8364e82 (patch)
tree562b5643322cf60b0dd057d7b80b1ec8e9282f3a /bin
parent2f4ae46af302ca41fc2a5bbb453b2ecf78f2e903 (diff)
#
Diffstat (limited to 'bin')
-rwxr-xr-xbin/.local/bin/screenshot16
1 files changed, 16 insertions, 0 deletions
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 @@
1#!/bin/bash
2screenshot() {
3 case $1 in
4 full)
5 scrot -m
6 ;;
7 window)
8 sleep 1
9 scrot -s
10 ;;
11 *)
12 ;;
13 esac;
14}
15
16screenshot $1