blob: 47aff4d633ec0232232faee39ae000b8563ba57d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
if [ "$ROFI_RETV" = 1 ]; then
coproc screensht "$1"
exit 0
elif [ "$ROFI_RETV" = 20 ]; then
coproc screensht "$1" copy
exit 0
fi
echo -ne "\0no-custom\x1ftrue\n"
echo -ne "\0prompt\x1fWhat to screenshot?\n"
echo -ne "\0message\x1fMake a selection (Alt+Enter to copy to clipboard)\n"
echo -ne "\0use-hot-keys\x1ftrue\n"
echo -ne "select area\0icon\x1fedit-cut\n"
echo -ne "current window\0icon\x1fdesktop\n"
echo -ne "full screen\0icon\x1fdisplay\n"
|