summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-07-11 11:56:25 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-07-11 11:56:28 +0200
commit24468fbe58af58ce5fa6fb45f7c927fd52e34548 (patch)
treeda19c3de0dc6bcf4256518bdb8ef2c172608bc89
parent82a93c237b84c9ee6629667914863734b1d512c2 (diff)
x aliases: Improved pgrep invocation
-rw-r--r--etc/aliases/x2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/aliases/x b/etc/aliases/x
index cb24c5c..1a41cc3 100644
--- a/etc/aliases/x
+++ b/etc/aliases/x
@@ -1,7 +1,7 @@
## vim:ft=zsh
# feh etc if X is running, x for startx otherwise
-if pgrep X &> /dev/null; then
+if pgrep -x Xorg &> /dev/null; then
# quiet and verbose can actually be used together here.
# quiet = suppress non-critical errors, verbose = show progress bars