X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/9320ee7da2357ee16e653ceb3ff11e91d106317c..90da7103402528796422cbb41e58b677025817f9:/.config/awesome/rc.lua?ds=sidebyside 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