dotfiles

My collection of dotfiles
git clone git://git.noxz.tech/dotfiles
Log | Files | Refs

dmenu_confirm (145B)


      1 #!/bin/sh
      2 
      3 [ -z "$1" ] && exit 1
      4 prompt="$1"; shift
      5 
      6 if [ "$(echo no\\nyes | dmenu_vtc $@ -p "$prompt")" = "yes" ]; then
      7 	exit 0
      8 else
      9 	exit 1
     10 fi