fix screenshot script
This commit is contained in:
parent
51c6ddb1d0
commit
2ec84fef83
@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
set -oue pipefail
|
||||
|
||||
# Take a screenshot
|
||||
dir=~/Downloads/temp
|
||||
(cd $dir && grim -g "$(slurp)")
|
||||
(cd $dir && grim -g "$(slurp)" ./$(date +%Y-%m-%d_%H-%m-%s).png)
|
||||
xdg-open $dir
|
||||
|
Loading…
Reference in New Issue
Block a user