summaryrefslogtreecommitdiff
path: root/calendar-widget
diff options
context:
space:
mode:
Diffstat (limited to 'calendar-widget')
-rw-r--r--calendar-widget/README.md2
-rw-r--r--calendar-widget/calendar.lua23
-rw-r--r--calendar-widget/dark.pngbin0 -> 12055 bytes
-rw-r--r--calendar-widget/light.pngbin0 -> 13020 bytes
4 files changed, 23 insertions, 2 deletions
diff --git a/calendar-widget/README.md b/calendar-widget/README.md
index 9cfaf30..c30fef6 100644
--- a/calendar-widget/README.md
+++ b/calendar-widget/README.md
@@ -11,6 +11,8 @@ Calendar widget for Awesome WM - slightly improved version of the `wibox.widget.
|---|---|
|nord (default) | ![nord_theme](./nord.png) |
| outrun | ![outrun_theme](./outrun.png) |
+ | light | ![outrun_theme](./light.png) |
+ | dark | ![outrun_theme](./dark.png) |
- setup widget placement
diff --git a/calendar-widget/calendar.lua b/calendar-widget/calendar.lua
index c54fb5c..1e4967e 100644
--- a/calendar-widget/calendar.lua
+++ b/calendar-widget/calendar.lua
@@ -37,13 +37,32 @@ local function worker(args)
weekday_fg = '#2de6e2',
header_fg = '#f6019d',
border = '#261447'
+ },
+ dark = {
+ bg = '#000000',
+ fg = '#ffffff',
+ focus_date_bg = '#ffffff',
+ focus_date_fg = '#000000',
+ weekend_day_bg = '#444444',
+ weekday_fg = '#ffffff',
+ header_fg = '#ffffff',
+ border = '#333333'
+ },
+ light = {
+ bg = '#ffffff',
+ fg = '#000000',
+ focus_date_bg = '#000000',
+ focus_date_fg = '#ffffff',
+ weekend_day_bg = '#AAAAAA',
+ weekday_fg = '#000000',
+ header_fg = '#000000',
+ border = '#CCCCCC'
}
}
-
local args = args or {}
- local theme = args.theme or 'nord'
+ local theme = args.theme or 'light'
local placement = args.placement or 'top'
local styles = {}
diff --git a/calendar-widget/dark.png b/calendar-widget/dark.png
new file mode 100644
index 0000000..540289f
--- /dev/null
+++ b/calendar-widget/dark.png
Binary files differ
diff --git a/calendar-widget/light.png b/calendar-widget/light.png
new file mode 100644
index 0000000..ab675d1
--- /dev/null
+++ b/calendar-widget/light.png
Binary files differ