From bcb39f3a7016f5f15696390210721dc7608b9617 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Wed, 27 Sep 2023 20:04:34 -0400 Subject: awesome: redo topbar. reworking systems org --- programs/dotfiles/awesome/rc.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'programs/dotfiles/awesome/rc.lua') diff --git a/programs/dotfiles/awesome/rc.lua b/programs/dotfiles/awesome/rc.lua index 904164a..3bf090f 100644 --- a/programs/dotfiles/awesome/rc.lua +++ b/programs/dotfiles/awesome/rc.lua @@ -137,10 +137,10 @@ toptextclock = wibox.widget.textclock() -- shape = gears.shape.rounded_rect --} -local calendar_widget = require("calendar") +local calendar_widget = require("widgets.calendar") local topcalendar = calendar_widget() -local volume_widget = require("volume") +local volume_widget = require("widgets.volume") local volumebar = volume_widget() toptextclock:connect_signal("button::press", @@ -316,7 +316,7 @@ awful.screen.connect_for_each_screen(function(s) } -- Create the wibox - s.mywibox = awful.wibar({ position = "top", screen = s, bg = "#00000000"}) + s.mywibox = awful.wibar({ position = "top", screen = s, bg = "#00000000", border_width = 8,}) s.systray = wibox.widget.systray() s.systray.visible = true @@ -327,11 +327,14 @@ awful.screen.connect_for_each_screen(function(s) expand = "none", { -- Left widgets layout = wibox.layout.fixed.horizontal, - wibox.container.margin(s.mytaglist, 5, 0, 0), + s.mytaglist, s.mypromptbox, }, s.mytasklist, -- Middle widget { -- Right widgets + volumebar, + toptextclock, + wibox.container.margin(s.mylayoutbox, 4, 4, 4, 4), { { layout = wibox.layout.fixed.horizontal, @@ -344,9 +347,6 @@ awful.screen.connect_for_each_screen(function(s) top = 4, bottom = 4 }, - volumebar, - toptextclock, - wibox.container.margin(s.mylayoutbox, 4, 4, 4, 4), }, widget = wibox.container.background, shape = gears.shape.rounded_rect, -- cgit v1.2.1