From 24468fbe58af58ce5fa6fb45f7c927fd52e34548 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 11 Jul 2009 11:56:25 +0200 Subject: x aliases: Improved pgrep invocation --- etc/aliases/x | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3