On 01.01.2013 02:11, Prashanth wrote:
> You're right, Sean. I hadn't noticed that changing the layout to
> vertical requires me to use set_left and set_right. I changed the whole
> thing to just set_first, set_second, set_third, which seems to work with
> both orientations.
>
> However, the taglist, tasklist and systray continue to grow only
> horizontally.
>
> I liked the old way, where the whole bar was just rotated. Is there a
> way to have that in 3.5?
Undo all the changes that you did to the config. Then, replace the call to
mywibox[s]:set_widget(layout) (line 201 in the default config) with this:
local rotate = wibox.layout.rotate()
rotate:set_direction("east") -- might also "west", I'm unsure
rotate:set_widget(layout)
mywibox[s]:set_widget(rotate)
This should do everything except rotating the systray (yes, if you want you
could even rotate individual widgets). To rotate the systray, go to line 191 and
replace
if s == 1 then right_layout:add(wibox.widget.systray()) end
with
if s == 1 then
local systray = wibox.widget.systray()
systray:set_horizontal(false)
right_layout:add(systray)
end
This should do everything you want. I don't like that the systray needs special
magic either.
Yes, this is more complicated than it was with 3.4, but this also a lot more
flexible because you aren't forced to have everything rotated.
Cheers,
Uli
--
- He made himself, me nothing, you nothing out of the dust
- Er machte sich mir nichts, dir nichts aus dem Staub
--
To unsubscribe, send mail to [email protected].