diff options
author | Adam Stück <adam@adast.xyz> | 2023-05-04 15:52:13 +0200 |
---|---|---|
committer | Adam Stück <adam@adast.xyz> | 2023-05-04 15:52:13 +0200 |
commit | ac0422a9eb7ca9faae96566ca92a7e579d9a6437 (patch) | |
tree | 455ffac76f3cfdde083473b4ff60f334a16e8b04 /.local/bin/screenshot | |
parent | aa3f5d6aabf002582bf77652aa0b5177a18a3bec (diff) |
Drop unused scripts
Diffstat (limited to '.local/bin/screenshot')
-rwxr-xr-x | .local/bin/screenshot | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/.local/bin/screenshot b/.local/bin/screenshot deleted file mode 100755 index 04b28cd..0000000 --- a/.local/bin/screenshot +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -main () { - if [ $# -eq 0 ]; then - print_screen ; exit 0 - fi - - case "$1" in - -s) - selection ;; - *) - echo "usage: screenshot [-s]" ;; - esac -} - -print_screen () { - scrot -q 100 -e 'xclip -selection c -t image/png < $f; mv $f ~/Pictures/screenshots/' -} - -selection () { - sleep 0.2 - scrot -l mode=edge -i -s -e 'xclip -sel clip -t image/png $f; mv $f ~/Pictures/screenshots/' -} - -main "$@" |