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

10 lines
216 B
Bash
Raw Normal View History

2024-01-22 06:28:52 -06:00
#!/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"