summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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