From d17eee816ee229be8beca2d094ea585a908dc101 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 18 May 2016 14:20:49 +1000 Subject: [PATCH] Remove global parsing --- neofetch | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/neofetch b/neofetch index c283004f..e0a3ba0c 100755 --- a/neofetch +++ b/neofetch @@ -1789,18 +1789,6 @@ gettermfont () { "termite") termfont="$(awk -F '= ' '!/^($|#)/ && /font/ {printf $2; exit}' "${XDG_CONFIG_HOME}/termite/config")" ;; - - # This only works on a global basis right now. - # We need to figure out a way to get the current - # profile in use. - "terminator") - termfont="$(awk -F '= ' '!/^($|#)/ && /font/ {printf $2; exit}' "${XDG_CONFIG_HOME}/terminator/config")" - ;; - - "iTerm2") - termfile="$(/usr/libexec/plistbuddy -c Print ~/Library/Preferences/com.googlecode.iterm2.plist)" - termfont="$(awk -F '= ' '/Normal Font/ {printf $2; exit}' <<< "$termfile")" - ;; esac }