list.sh - randomcrap - random crap programs of varying quality
(HTM) git clone git://git.codemadness.org/randomcrap
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
list.sh (315B)
---
1 #!/bin/sh
2
3 dmenu_path() {
4 cd /usr/bin
5 ls -1
6 cd /usr/local/bin
7 ls -1
8 find "$HOME/.config/scripts" -iname "*.sh" -type f
9 }
10
11 dmenu_path
12
13 #HISTORYFILE="$HOME/.config/scripts/runmenu/history.txt"
14 # Show first 10 favorites...
15 #(tac $HISTORYFILE | awk '!x[$0]++' | head -n 10
16 # ... then all apps.
17 #dmenu_path) | uniq