10 lines
146 B
Plaintext
10 lines
146 B
Plaintext
|
#!/usr/bin/env fish
|
||
|
|
||
|
set f "/tmp/temp-"(date "+%y%m%d-%H%M%S")".png"
|
||
|
|
||
|
spectacle -b -r -n
|
||
|
|
||
|
if test -f "/tmp/temp.png"
|
||
|
mv "/tmp/temp.png" "$f"
|
||
|
end
|