Added screenshot shortcut and script

This commit is contained in:
Felipe M 2020-12-28 16:50:37 +01:00
parent 3aabd84a49
commit 72dbe8ae20
2 changed files with 14 additions and 0 deletions

7
.dotfiles/bin/screenshot.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
FILE_PATH=$HOME/Pictures/Screenshots/$(date -u +"%Y-%m-%d_%H-%M-%S").png
grim -g "$(slurp)" $FILE_PATH
cat $FILE_PATH | wl-copy