From ac0422a9eb7ca9faae96566ca92a7e579d9a6437 Mon Sep 17 00:00:00 2001 From: Adam Stück Date: Thu, 4 May 2023 15:52:13 +0200 Subject: Drop unused scripts --- .local/bin/screenshot | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100755 .local/bin/screenshot (limited to '.local/bin/screenshot') 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 "$@" -- cgit v1.2.3-70-g09d2