#!/bin/sh commandList="tea repos create --name resume --description 'resume source code' --private=true ─╯ git hcloud nmap -sn 192.168.0.0/24 2>/dev/null | grep -E 'report|MAC' " ansible-playbook -i inventory/hosts.yml site.yml --list-hosts if ! command -v wofi >/dev/null 2>&1; then echo "wofi is not installed" exit 1 fi selection=$(echo "$commandList" | wofi --prompt "Cheat Sheet" --dmenu) [ -z "$selection" ] && echo "nothing selected" exit 1