Move the time to the top right
This commit is contained in:
parent
61a3faad4b
commit
f22b49a467
|
@ -62,7 +62,7 @@ local updates_indicator = wibox.widget{
|
||||||
{
|
{
|
||||||
widget = awful.widget.watch('bash -c "checkupdates | wc -l"', 360),
|
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
|
widget = wibox.container.margin
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -71,7 +71,7 @@ local updates_indicator = wibox.widget{
|
||||||
forced_width = 18,
|
forced_width = 18,
|
||||||
widget = wibox.widget.imagebox,
|
widget = wibox.widget.imagebox,
|
||||||
},
|
},
|
||||||
top = 7, bottom = 0, left = 5, right = 0,
|
top = 5, bottom = 0, left = 5, right = 0,
|
||||||
widget = wibox.container.margin
|
widget = wibox.container.margin
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -120,7 +120,7 @@ top_panel.create = function(s)
|
||||||
expand = "none",
|
expand = "none",
|
||||||
layout = wibox.layout.align.horizontal,
|
layout = wibox.layout.align.horizontal,
|
||||||
task_lists,
|
task_lists,
|
||||||
wibox.widget.textclock('%a %b %d, %H:%M:%S', 1),
|
wibox.widget{},
|
||||||
{
|
{
|
||||||
layout = wibox.layout.fixed.horizontal,
|
layout = wibox.layout.fixed.horizontal,
|
||||||
pl(wibox.widget{}, theme.bg_normal .. "00", theme.top_panel_powerline),
|
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(cpu_widget, theme.top_panel_powerline, theme.bg_normal),
|
||||||
pl(frequency_widget, theme.bg_normal, theme.top_panel_powerline),
|
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(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),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,7 @@ theme.tasklist_fg_normal = theme.fg_normal
|
||||||
|
|
||||||
-- Panel Sizing
|
-- Panel Sizing
|
||||||
theme.top_panel_height = dpi(32)
|
theme.top_panel_height = dpi(32)
|
||||||
theme.top_panel_powerline = "#3480eb"
|
theme.top_panel_powerline = "#002F5F"
|
||||||
|
|
||||||
-- Notification Sizing
|
-- Notification Sizing
|
||||||
theme.notification_max_width = dpi(350)
|
theme.notification_max_width = dpi(350)
|
||||||
|
|
Loading…
Reference in New Issue