1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-10-27 05:23:18 -04:00
rofi/doc/create_screenshot.sh

18 lines
418 B
Bash
Raw Normal View History

2015-10-23 09:53:16 -04:00
#!/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"
2015-10-23 12:26:40 -04:00
echo -en "\n1\n2\n3\n4\n5"
2015-10-23 09:53:16 -04:00
}
2015-10-23 12:26:40 -04:00
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 ) &
2015-10-23 12:26:40 -04:00
P=$!
sleep 5
scrot
sleep 1
killall rofi
wait $P