First commit
This commit is contained in:
commit
9499debf01
15 changed files with 1077 additions and 0 deletions
10
mango/scripts/screenshot.sh
Executable file
10
mango/scripts/screenshot.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
DIR="$HOME/Pictures/Screenshots"
|
||||
mkdir -p "$DIR"
|
||||
|
||||
FILE="$DIR/screenshot_$(date +'%Y-%m-%d_%H-%M-%S').png"
|
||||
|
||||
grim -g "$(slurp)" - | tee "$FILE" | wl-copy
|
||||
|
||||
notify-send "Screenshot Captured" "Saved to $FILE" -i $HOME/.config/mango/scripts/screenshot.png
|
||||
Loading…
Add table
Add a link
Reference in a new issue