You are not logged in.
Hi,
I use conky as a bar on the top of my desktop and I wanted to emulate the "workspace indicator" of awesome so I tried this :
Openbox config :
[...]
<desktops>
<number>4</number>
<firstdesk>1</firstdesk>
<names>
<name>${color1}home${color} web code misc</name>
<name>home ${color1}web${color} code misc</name>
<name>home web ${color1}code${color} misc</name>
<name>home web code ${color1}misc${color}</name>
</names>
<popupTime>0</popupTime>
</desktops>
[...]Conky config :
[...]
${eval $desktop_name}
[...]According to the conky manual it should parse the string and show a colored output but it doesn't work and I can't figure out why.
Any help ?
: (){ : |:& };:
Offline
How often does that refresh in conky? When is conky started relative to the WM? This is likely the same as this solved problem:
https://bbs.archlinux.org/viewtopic.php?id=116896
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I set the update interval to half a second, and conky is started from the openbox autostart file. The $desktop_name variable works fine and prints the name but eval doesn't parse it as it should so it looks like this :
${color1}home${color} web code misc: (){ : |:& };:
Offline