summaryrefslogtreecommitdiff
path: root/bar.lua
diff options
context:
space:
mode:
Diffstat (limited to 'bar.lua')
-rw-r--r--bar.lua12
1 files changed, 8 insertions, 4 deletions
diff --git a/bar.lua b/bar.lua
index ab6cda8..698fb2e 100644
--- a/bar.lua
+++ b/bar.lua
@@ -1,6 +1,7 @@
local awful = require("awful")
local wibox = require("wibox")
local beautiful = require("beautiful")
+local buttons = require("buttons")
-- load widgets
--local mylauncher = require("widgets.button")
@@ -48,7 +49,11 @@ local widgets = {
},
separator,
} end,
- textclock = wibox.widget.textclock("%A, %B %-e, %-I:%M %p"),
+ textclock = {
+ widget = wibox.widget.textclock,
+ format = "%A, %B %-e, %-I:%M %p",
+ font = beautiful.textclock_font,
+ },
cpu = {
layout = wibox.layout.fixed.horizontal,
wibox.widget.textbox "CPU: ",
@@ -71,7 +76,6 @@ local widgets = {
},
bat = {
layout = wibox.layout.fixed.horizontal,
- buttons = volume_buttons,
wibox.widget.textbox "BAT: ",
widget_battery,
},
@@ -100,15 +104,15 @@ function widgets.right_widgets(s) return wibox.widget {
layout = wibox.layout.fixed.horizontal,
{
layout = wibox.layout.fixed.horizontal,
- spacing = spacing,
+ spacing = spacing * 2,
{
layout = wibox.layout.fixed.horizontal,
widgets.cpu,
widgets.temp,
},
widgets.ram,
- widgets.vol,
widgets.bat,
+ widgets.vol,
},
{
widget = wibox.widget.separator,