feat: fall back to beautiful.font for textclock

This commit is contained in:
xeals 2019-01-15 21:34:04 +11:00
parent 80cc22804b
commit 41c431d40f

View File

@ -23,7 +23,7 @@
timeout (or timeout 60) timeout (or timeout 60)
timezone (or (and timezone (TimeZone.new timezone)) timezone (or (and timezone (TimeZone.new timezone))
(TimeZone.new_local)) (TimeZone.new_local))
font (or font beautiful.textclock_font) font (or font beautiful.textclock_font beautiful.font)
w (wibox.widget.textbox)] w (wibox.widget.textbox)]
(var t nil) (var t nil)