From: martin f. krafft Date: Tue, 11 Nov 2008 20:46:20 +0000 (+0100) Subject: fix wibox X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/62c68bdf2546785d36794ec91a9f7d48c67070b6?ds=inline;pf=etc fix wibox --- diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index acfc111..2329095 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -142,6 +142,10 @@ mylauncher = awful.widget.launcher({ name = "mylauncher", -- Create a systray mysystray = widget({ type = "systray", name = "mysystray", align = "right" }) +-- Create textbox widgets +mytimebox = widget({ type = "textbox", name = "mytimebox", align = "right" }) +mybatterybox = widget({ type = "textbox", name = "mybatterybox", align = "right" }) + -- Create a wibox for each screen and add it mywibox = {} mypromptbox = {} @@ -179,17 +183,14 @@ for s = 1, screen.count() do mywibox[s].widgets = { mytaglist[s], mytasklist[s], mypromptbox[s], + mybatterybox, mytimebox, mylayoutbox[s], - s == 1 and mysystray or nil } + s == screen.count() and mysystray or nil } mywibox[s].screen = s end -- }}} --- Create a textbox widget -mytimebox = widget({ type = "textbox", name = "mytimebox", align = "right" }) -mybatterybox = widget({ type = "textbox", name = "mybatterybox", align = "right" }) - --Battery widget batterywidget = widget({ type = 'progressbar', name = 'batterywidget' }) batterywidget.width = 100