summaryrefslogtreecommitdiff
path: root/etc/aliases/x
diff options
context:
space:
mode:
Diffstat (limited to 'etc/aliases/x')
-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