blob: ff45c51e4b292bac23aab4faea4331161dd80771 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
#file=$(scrot -sb -e 'echo $f')
file=$(mktemp --tmpdir screenshot-XXXX.png)
maim -s $file
#gimp "$file"
if tty &>/dev/null; then
fb "$file"
else
urxvt -geometry 79x1 -e fb "$file"
fi
rm "$file"
|