END {
if (data["Name:"]) {
out = data["Name:"]
+ } else if (data["Title:"]) {
+ out = data["Title:"]
} else {
file = data["file:"]
last = split(file, parts, "/")
"\
E$energy\
\
- \
G=$graphics_card\
\
- \
M$memory\
\
- \
C=[$cpu ${temp}°C ${fan}rpm]\
\
- \
L=$load\
\
- \
D$disk\
\
- \
N:[$network]\
\
- \
B:$bluetooth_power\
\
- \
S=$screen_brightness\
\
- \
V=$volume\
\
[$mpd_state $mpd_current]\