mirror of
https://github.com/imgurbot12/rmenu.git
synced 2024-11-14 05:13:48 +01:00
11 lines
259 B
Bash
11 lines
259 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
# basic dmenu-like implementation
|
||
|
eval "`printf 'ls /\ndf -h\nwho\nfoot -e top' | rmenu -f dmenu`"
|
||
|
|
||
|
# supports dmenu
|
||
|
echo "========="
|
||
|
echo try "\"printf 'foo\\\\nbar\\\\nbaz' | rmenu -f dmenu\""
|
||
|
echo try "\"exec \`dmenu_path | rmenu -f dmenu\`\""
|
||
|
|