commit 1398da24f8f107f784f6a64865c178de1e171ced
parent 5643f72c23ed1b93036ab0f8c3c642d9aa4bcd2d
Author: Anders Damsgaard Christensen <adc@geo.au.dk>
Date: Tue, 19 Apr 2016 10:13:48 -0700
change order of additional i3 status components
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/i3status-mpc.sh b/bin/i3status-mpc.sh
@@ -17,9 +17,9 @@ do
fi
dat="["\
-"{\"full_text\":\"${kbdlayout}\"},"\
+"{\"full_text\":\"${dat}\",\"color\":\"${mpdcolor}\"},"\
"{\"full_text\":\"M: ${newmails}\",\"color\":\"${mailcolor}\"},"\
-"{\"full_text\":\"${dat}\",\"color\":\"${mpdcolor}\"},"
+"{\"full_text\":\"${kbdlayout}\"},"
#dat="[{\"name\":\"mpd\",\"full_text\":\"asdf\"},"
echo "${line/[/$dat}" || exit 1