Move the time to the top right

This commit is contained in:
Thomas Avé 2022-07-21 23:26:42 +02:00
parent 61a3faad4b
commit f22b49a467
2 changed files with 6 additions and 5 deletions

View File

@ -62,7 +62,7 @@ local updates_indicator = wibox.widget{
{
widget = awful.widget.watch('bash -c "checkupdates | wc -l"', 360),
},
top = 0, bottom = 0, left = 0, right = 0,
top = 0, bottom = 2, left = 0, right = 0,
widget = wibox.container.margin
},
{
@ -71,7 +71,7 @@ local updates_indicator = wibox.widget{
forced_width = 18,
widget = wibox.widget.imagebox,
},
top = 7, bottom = 0, left = 5, right = 0,
top = 5, bottom = 0, left = 5, right = 0,
widget = wibox.container.margin
}
},
@ -120,7 +120,7 @@ top_panel.create = function(s)
expand = "none",
layout = wibox.layout.align.horizontal,
task_lists,
wibox.widget.textclock('%a %b %d, %H:%M:%S', 1),
wibox.widget{},
{
layout = wibox.layout.fixed.horizontal,
pl(wibox.widget{}, theme.bg_normal .. "00", theme.top_panel_powerline),
@ -131,7 +131,8 @@ top_panel.create = function(s)
pl(cpu_widget, theme.top_panel_powerline, theme.bg_normal),
pl(frequency_widget, theme.bg_normal, theme.top_panel_powerline),
pl(awful.widget.watch('bash -c "sensors | grep Tctl | cut -f 10 -d \' \' | cut -c 2-"', 5), theme.top_panel_powerline, theme.bg_normal),
pl(require("widgets.layout-box"), theme.bg_normal, theme.bg_normal),
pl(require("widgets.layout-box"), theme.bg_normal, theme.top_panel_powerline),
pl(wibox.widget.textclock('%a %b %d, %H:%M:%S', 1), theme.top_panel_powerline, theme.top_panel_powerline),
}
}

View File

@ -72,7 +72,7 @@ theme.tasklist_fg_normal = theme.fg_normal
-- Panel Sizing
theme.top_panel_height = dpi(32)
theme.top_panel_powerline = "#3480eb"
theme.top_panel_powerline = "#002F5F"
-- Notification Sizing
theme.notification_max_width = dpi(350)