From 5b7ad5a0c4e00ab4a18110fd77d0fcb5e3b253da Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Sat, 9 Nov 2024 17:18:45 -0600 Subject: fonts and theme changes --- bar.lua | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'bar.lua') 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, -- cgit v1.2.3