scripts

random assortment of scripts
git clone git://git.andersuno.nu/scripts.git
Log | Files | Refs

.scriptmenu (246B)


      1 #!/bin/sh
      2 
      3 chosen=$(find "$HOME/Scripts/" -path "$HOME/Scripts/.*" -prune -o -perm /u+x -type f -printf "%f\n" | sort | dmenu -i -l 20 -fn Monospace-16)
      4 
      5 [ "$chosen" != "" ] || exit
      6 
      7 notify-send "$chosen" "Running Script"
      8 "$HOME/Scripts/$chosen"