mirror of
https://github.com/0intro/wmii
synced 2024-11-22 13:52:17 +03:00
pushing simplified proglist based on bogon's work
This commit is contained in:
parent
d59f6dc8d5
commit
06cb0645de
@ -7,13 +7,7 @@ xwrite() {
|
||||
}
|
||||
|
||||
proglist() {
|
||||
for dir in `echo $@ | sed 's/^:/.:/; s/::/:.:/; s/:$/:./' | tr : ' '`
|
||||
do
|
||||
for i in $dir/*
|
||||
do
|
||||
test -x "$i" && test ! -d "$i" && echo `basename "$i"`
|
||||
done
|
||||
done | sort | uniq
|
||||
ls -lpL `echo "$@" | tr ':' ' '` | awk '!/^d/ && $1 ~ /x/ {print $NF}' | sort | uniq
|
||||
}
|
||||
|
||||
# give wmiiwm a chance to start
|
||||
|
Loading…
Reference in New Issue
Block a user