wm_theme: Fixed sawfish detection

This commit is contained in:
dylan araps 2017-12-13 11:08:10 +11:00
parent c43ffb028e
commit 7fc4f84217

View file

@ -758,7 +758,7 @@ get_wm_theme() {
;;
"Sawfish")
wm_theme="$(awk -F ")" '/\(quote default-frame-style/ {print $2}' \
wm_theme="$(awk -F "'|)" '!/^;/ && /default-frame-style/ {a=$(NF-1)} END{print a}') \
"${HOME}/.sawfish/custom")"
;;