No beeps, yes border and 0.1% speed increase
This commit is contained in:
parent
c49479fc68
commit
205f72803a
@ -1,8 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
DIR="$HOME/Pictures/Screenshots"
|
DIR="$HOME/Pictures/Screenshots"
|
||||||
FILE="$(date --utc "+%Y.%m.%d-%H.%M.%S").png"
|
FILE="$(date --utc "+%Y.%m.%d-%H.%M.%S").png"
|
||||||
mkdir -p "$DIR"
|
mkdir -p "$DIR"
|
||||||
scrot --freeze --select "$DIR/$FILE"
|
scrot --freeze --select --silent --border "$DIR/$FILE"
|
||||||
xclip -selection clipboard -t image/png -i "$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"
|
notify-send "wdvn-screenshot" "Saved. Copied image to clipboard." -t 2000 --icon="insert-image"
|
||||||
|
Loading…
Reference in New Issue
Block a user