add scripts
This commit is contained in:
parent
e8be34d9c2
commit
e871ce10c7
3 changed files with 58 additions and 9 deletions
9
scripts/screenshot
Executable file
9
scripts/screenshot
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
OUT_DIR=${GRIM_DEFAULT_DIR:-~/Pictures/Screenshots/}
|
||||
mkdir -p "$OUT_DIR"
|
||||
|
||||
grim -g "$(slurp -o)" - | wl-copy
|
||||
notify-send "Screenshot Taken" "to the clipboard"
|
||||
wl-paste > $OUT_DIR/$(date +"%Y-%m-%dT%H:%M:%SZ").png
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue