dotfiles/home/private_dot_config/rofi/bin/executable_confirm.sh

9 lines
216 B
Bash

#!/usr/bin/env bash
styles="$(dirname $(which $0))/../styles"
rofi_command="rofi -theme $styles/confirm.rasi"
options="yes\nno"
chosen="$(echo -e "$options" | $rofi_command -dmenu -selected-row 2)"
echo "$chosen"