forked from ashpie/simple-awesome
Customize clock format
This commit is contained in:
parent
80ba6a0aa9
commit
b5f391f3b8
@ -192,7 +192,8 @@ os_menu = awful.widget.launcher({
|
|||||||
|
|
||||||
-- {{{ Wibar
|
-- {{{ Wibar
|
||||||
-- Create a textclock widget
|
-- Create a textclock widget
|
||||||
mytextclock = wibox.widget.textclock()
|
main_clock = wibox.widget.textclock(" %F · %R ")
|
||||||
|
utc_clock = wibox.widget.textclock(" %F · %T UTC ¤ ", 1, "Z")
|
||||||
|
|
||||||
-- Create a wibox for each screen and add it
|
-- Create a wibox for each screen and add it
|
||||||
local taglist_buttons = gears.table.join(awful.button({}, 1, function(t) t:view_only() end),
|
local taglist_buttons = gears.table.join(awful.button({}, 1, function(t) t:view_only() end),
|
||||||
@ -336,7 +337,8 @@ awful.screen.connect_for_each_screen(function(s)
|
|||||||
matchesScreen(config.widgets.system_resources.battery.screens) and system_resources_widget.battery or nil,
|
matchesScreen(config.widgets.system_resources.battery.screens) and system_resources_widget.battery or nil,
|
||||||
keyboard_layout_widget,
|
keyboard_layout_widget,
|
||||||
wibox.widget.systray(),
|
wibox.widget.systray(),
|
||||||
mytextclock,
|
utc_clock,
|
||||||
|
main_clock,
|
||||||
s.mylayoutbox,
|
s.mylayoutbox,
|
||||||
os_menu,
|
os_menu,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user