From 82a93c237b84c9ee6629667914863734b1d512c2 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 11 Jul 2009 01:58:47 +0200 Subject: x aliases: Fixed X detection --- etc/aliases/x | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/aliases/x b/etc/aliases/x index 1748a60..cb24c5c 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 pidof X &> /dev/null; then +if pgrep X &> /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