From 62c68bdf2546785d36794ec91a9f7d48c67070b6 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 11 Nov 2008 21:46:20 +0100 Subject: [PATCH] fix wibox --- .config/awesome/rc.lua | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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 -- 2.39.2