From 266539b6c3ea1c1af777bd62a20901033b486b8c Mon Sep 17 00:00:00 2001 From: aajjbb Date: Fri, 14 Sep 2018 20:09:25 -0300 Subject: [PATCH] remove duplicate assign of theme.cal in multicolor/powerarrow/powerarrow-dark --- themes/multicolor/theme.lua | 2 +- themes/powerarrow-dark/theme.lua | 2 +- themes/powerarrow/theme.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/multicolor/theme.lua b/themes/multicolor/theme.lua index 1c5b527..604cca0 100644 --- a/themes/multicolor/theme.lua +++ b/themes/multicolor/theme.lua @@ -99,7 +99,7 @@ local mytextclock = wibox.widget.textclock(markup("#7788af", "%A %d %B ") .. mar mytextclock.font = theme.font -- Calendar -theme.cal = theme.cal = lain.widget.cal({ +theme.cal = lain.widget.cal({ attach_to = { mytextclock }, notification_preset = { font = "xos4 Terminus 10", diff --git a/themes/powerarrow-dark/theme.lua b/themes/powerarrow-dark/theme.lua index 5750ef1..56ec547 100644 --- a/themes/powerarrow-dark/theme.lua +++ b/themes/powerarrow-dark/theme.lua @@ -100,7 +100,7 @@ local clock = awful.widget.watch( ) -- Calendar -theme.cal = theme.cal = lain.widget.cal({ +theme.cal = lain.widget.cal({ attach_to = { clock }, notification_preset = { font = "xos4 Terminus 10", diff --git a/themes/powerarrow/theme.lua b/themes/powerarrow/theme.lua index 08da2ff..9430156 100644 --- a/themes/powerarrow/theme.lua +++ b/themes/powerarrow/theme.lua @@ -108,7 +108,7 @@ local binclock = require("themes.powerarrow.binclock"){ } -- Calendar -theme.cal = theme.cal = lain.widget.cal({ +theme.cal = lain.widget.cal({ --cal = "cal --color=always", attach_to = { binclock.widget }, notification_preset = {