My old Dell notebook has a wifi module: "Dell Wireless 1703 802.11b|g|n [2.4GHz]"
and DesktopInfo can't display it normally (in one row, not three).
Need help.
The pipe symbol '|' is used by DTI to denote a new line in the display template. There's an undocumented common option you can use to disable that for a single item called multirow.
comment = text:this|is|multirow, multirow:0
Notebook has two network interfaces: lan and wifi.
My config line:
NETWORKINTERFACES=interval:30,operstatus:1,iftype:6 23 71,row-text:%2,display:%3|%8/%10, %24[1.0B]Bps
How to use your advice?
hrm.... It doesn't work well in that case. Need to find a way to transform the raw data before it gets to the display.
Regular expressions here we come.....
Maybe simply perform the pre-formatting of variables? (replace "|" with "/", for example).
that's the plan... regular expressions is how we'll do it.