summaryrefslogtreecommitdiff
path: root/etc/aliases
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-07-11 01:58:47 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-07-11 01:58:47 +0200
commit82a93c237b84c9ee6629667914863734b1d512c2 (patch)
tree14dffdc479bc9d78029191887568ee03bf746bf8 /etc/aliases
parentb271cedab2db4735d7e2c49a967d859fd0710d44 (diff)
x aliases: Fixed X detection
Diffstat (limited to 'etc/aliases')
-rw-r--r--etc/aliases/x2
1 files changed, 1 insertions, 1 deletions
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