From 205f72803aab84c690456c0cb7a81556caf35ca0 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Sat, 10 Sep 2022 06:53:07 +0200 Subject: [PATCH] No beeps, yes border and 0.1% speed increase --- mods/graphical-general/data/usr/local/bin/wdvn-screenshot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/graphical-general/data/usr/local/bin/wdvn-screenshot b/mods/graphical-general/data/usr/local/bin/wdvn-screenshot index 99f7d8f..9e16fb5 100755 --- a/mods/graphical-general/data/usr/local/bin/wdvn-screenshot +++ b/mods/graphical-general/data/usr/local/bin/wdvn-screenshot @@ -1,8 +1,8 @@ -#!/usr/bin/env bash +#!/bin/sh set -e DIR="$HOME/Pictures/Screenshots" FILE="$(date --utc "+%Y.%m.%d-%H.%M.%S").png" mkdir -p "$DIR" -scrot --freeze --select "$DIR/$FILE" +scrot --freeze --select --silent --border "$DIR/$FILE" xclip -selection clipboard -t image/png -i "$DIR/$FILE" notify-send "wdvn-screenshot" "Saved. Copied image to clipboard." -t 2000 --icon="insert-image"