1 2 3 4 5 6 7
#!/sbin/sh if [ -z "$WAYLAND_DISPLAY" -a -n "$DISPLAY" ]; then dmenu -i -F $@ else bemenu $(echo $@ | sed 's/-h/-H/') fi