examples: dwl-tags: adapt parsing of output to recent DWL changes(?)

Closes #178
This commit is contained in:
Daniel Eklöf 2022-04-24 11:04:37 +02:00
parent acc20913ef
commit 5fc092a874
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -127,7 +127,7 @@ while true; do
inotifywait -qq --event modify "${fname}"
# Get info from the file
output="$(tail -n4 "${fname}")"
output="$(tail -n6 "${fname}")"
title="$(echo "${output}" | grep title | cut -d ' ' -f 3- )"
#selmon="$(echo "${output}" | grep 'selmon')"
layout="$(echo "${output}" | grep layout | cut -d ' ' -f 3- )"