summaryrefslogtreecommitdiffstats
path: root/bash_functions.d/screenshot.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bash_functions.d/screenshot.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bash_functions.d/screenshot.sh b/bash_functions.d/screenshot.sh
new file mode 100644
index 0000000..34f9c7a
--- /dev/null
+++ b/bash_functions.d/screenshot.sh
@@ -0,0 +1,4 @@
+screenshot() {
+ sleep 4 && scrot '%Y-%m-%d_$wx$h.png' -e 'optipng $f' -shole --line color="Dark Salmon",opacity=200
+}
+