dwm/endx
2021-11-12 14:41:36 +01:00

6 lines
131 B
Bash

#!/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