aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R.Garbe <arg@10ksloc.org>2006-08-16 09:05:58 +0200
committerAnselm R.Garbe <arg@10ksloc.org>2006-08-16 09:05:58 +0200
commit80bf2aa5592da311fb712e63b66aeec560df2b56 (patch)
tree6719cfe08099ad452db130cec8554ded791ae310
parentb9cd0c433139ae7dac850c5cd538ee74b32797e1 (diff)
downloaddwm-80bf2aa5592da311fb712e63b66aeec560df2b56.tar.gz
dwm-80bf2aa5592da311fb712e63b66aeec560df2b56.tar.bz2
dwm-80bf2aa5592da311fb712e63b66aeec560df2b56.zip
simplified sort | uniq into sort -u (on my boxes all sort support -u)
-rw-r--r--config.arg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.arg.h b/config.arg.h
index c9c2ad8..88343da 100644
--- a/config.arg.h
+++ b/config.arg.h
@@ -22,7 +22,7 @@ static Key key[] = { \
{ .cmd = "exec urxvt +sb -tr -bg black -fg '#eeeeee' -fn '"FONT"'" } }, \
{ MODKEY, XK_p, spawn, \
{ .cmd = "exec `ls -lL /usr/bin /usr/local/bin 2>/dev/null | " \
- "awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | dmenu`" } }, \
+ "awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort -u | dmenu`" } }, \
{ MODKEY, XK_j, focusnext, { 0 } }, \
{ MODKEY, XK_k, focusprev, { 0 } }, \
{ MODKEY, XK_Return, zoom, { 0 } }, \