5 lines
191 B
Bash
Executable file
5 lines
191 B
Bash
Executable file
#!/bin/sh -e
|
|
# Save wl clipboard image with last copied url
|
|
file="$(date +%y%m%d-%H%M%S)_$(cliphist list | grep https:// | head -1 | rev | cut -d/ -f1 | rev).png"
|
|
wl-paste >"$file"
|
|
b "$file"
|