On 01/01/13 14:31, Uli Schlachter wrote:
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

To anyone else who might prefer a vertical statusbar, use Uli's modifications, but also add "systray:set_base_size(100)" after "systray:set_horizontal(false)". This will reserve 100 pixels permanently for systray icons, and fixes the problem of icons getting shrunk to microscopic sizes and then crammed together. The systray will no longer grow or shrink based on the number of icons present, but I can live with that.

--
To unsubscribe, send mail to [email protected].

Reply via email to