From 37ff7062874b72bafa99afe661f42653565ed511 Mon Sep 17 00:00:00 2001 From: Mitsuo Tokumori Date: Wed, 11 Sep 2024 04:25:38 +0900 Subject: RESTRUCTURE. Replicate relative paths in public/ --- local/bin/screenshot.sh | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100755 local/bin/screenshot.sh (limited to 'local/bin/screenshot.sh') diff --git a/local/bin/screenshot.sh b/local/bin/screenshot.sh deleted file mode 100755 index be4a8f9..0000000 --- a/local/bin/screenshot.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -# Takes a screenshot and saves it - -# Inspired by Denshi's screenshot script (https://git.denshi.org/Scripts/tree/screenshot). -# See also https://www.youtube.com/watch?v=uYNTFg3_QaY&t=243s - -savepath="$HOME/media/Pictures/Screenshots" -filename="$HOSTNAME-$(date -Iseconds | tr -d ':-').png" - -if [ "$1" == "screen" ]; then - # capture the screen determined by the cursor location - shotgun -s "$savepath/$filename" -elif [ "$1" == "screens" ]; then - # TODO: This is not currently possible with shotgun 2.5.1 - : -else - # capture a region of the screen - shotgun -g $(hacksaw) "$savepath/$filename" -fi - -- cgit v1.2.3