dotfiles/bin/prompt
2019-12-25 11:48:55 +08:00

7 lines
222 B
Bash

#!/usr/bin/env sh
# A simple prompt script.
# Based from Luke Smith's prompt script.
# https://github.com/LukeSmithxyz/voidrice/blob/master/.local/bin/prompt
[ "$(printf "No\\nYes" | rofi -dmenu -p "$1")" = "Yes" ] && $2