8 lines
149 B
Bash
Executable File
8 lines
149 B
Bash
Executable File
#!/bin/sh
|
|
set -oue pipefail
|
|
|
|
# Take a screenshot
|
|
dir=~/Downloads/temp
|
|
(cd $dir && grim -g "$(slurp)" ./$(date +%Y-%m-%d_%H-%m-%s).png)
|
|
xdg-open $dir
|