12 lines
310 B
Bash
Executable file
12 lines
310 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# THis is a simple wrapper around rofi which makes it nicer to use with touch screens
|
|
|
|
|
|
input="$(cat -)"
|
|
|
|
lines="$(echo "$input" | wc -l )"
|
|
|
|
[ "$lines" -gt 15 ] && lines=15
|
|
|
|
echo "$input" | rofi -dmenu -me-accept-entry '!MousePrimary' -theme "themes/touch-dmenu.rasi" -lines "$lines" "$@"
|