dwm/endx

6 lines
131 B
Plaintext
Raw Normal View History

2021-11-12 07:41:36 -06:00
#!/bin/sh
#gives you a dmenu prompt to confirm if you want to exit X
[ $(echo -e "No\nYes" | dmenu -i -p "$1") \
== "Yes" ] && $2