1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-25 13:55:34 -05:00
rofi/doc/create_screenshot.sh
Florian Bruhin 4862584ad2
Remove extra colons (#1199)
Rofi already adds a colon after the prompt given with -p, so the
"monkey:" example would actually lead to a "monkey::" prompt.
2020-09-18 12:50:35 +02:00

17 lines
418 B
Bash
Executable file

#!/usr/bin/env bash
function shout()
{
echo -en "Normal Row\nAlternateRow\nNormal Row active\nAlternateRow Active\nNormal Row urgent\nAlternateRow urgent"
echo -en "\nSelected Row"
echo -en "\n1\n2\n3\n4\n5"
}
sleep 5
( shout | rofi -no-hide-scrollbar -columns 1 -width 1200 -location 0 -u 2,3 -a 4,5 -dmenu -p "Prompt" -padding 20 -line-margin 10 -selected-row 6 ) &
P=$!
sleep 5
scrot
sleep 1
killall rofi
wait $P