From 896716d2ba5516f15edbe1474af4b6a8ed5fb596 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sun, 21 Feb 2016 07:08:50 +1100 Subject: [PATCH] Disable xprop stuff on Mac OS X --- fetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetch b/fetch index 011d4b28..7bad2f20 100755 --- a/fetch +++ b/fetch @@ -731,7 +731,7 @@ getde () { # Window Manager {{{ getwm () { - if [ -n "$DISPLAY" ]; then + if [ -n "$DISPLAY" ] && [ "$os" != "Mac OS X" ]; then id="$(xprop -root -notype | \awk '$1=="_NET_SUPPORTING_WM_CHECK:"{print $5}')" wm="$(xprop -id "$id" -notype -f _NET_WM_NAME 8t)" wm=${wm/*_NET_WM_NAME = }