diff --git a/_widgets/calendar-widget.md b/_widgets/calendar-widget.md index c677ec7..8c939b8 100644 --- a/_widgets/calendar-widget.md +++ b/_widgets/calendar-widget.md @@ -3,29 +3,55 @@ layout: page --- # Calendar Widget -Calendar widget for Awesome WM - slightly improved version of the `wibox.widget.calendar`. Also supports mouse scroll up/down in order ot switch month - scroll up - shows next month, scroll down - previous. +Calendar widget for Awesome WM - slightly improved version of the `wibox.widget.calendar`. -Top center placement: +## Features -![calendar_top](../awesome-wm-widgets/assets/img/screenshots/calendar-widget/calendar_top.png) + - mouse support: scroll up - shows next month, scroll down - previous + - themes: + + nord (default): -Top right placement: + ![nord_theme](../awesome-wm-widgets/assets/img/screenshots/calendar-widget/nord.png) -![calendar_top_right](../awesome-wm-widgets/assets/img/screenshots/calendar-widget/calendar_top_right.png) + outrun: -The placement is setup in theme.lua by `calendar_placement` variable, currently supported `top` (default), `top_right`, `bottom_right`. + ![outrun_theme](../awesome-wm-widgets/assets/img/screenshots/calendar-widget/outrun.png) -# How to use + - setup widget placement + + top center - in case you clock is centered: + + ![calendar_top](../awesome-wm-widgets/assets/img/screenshots/calendar-widget/calendar_top.png) + + top right - for default awesome config: + + ![calendar_top_right](../awesome-wm-widgets/assets/img/screenshots/calendar-widget/calendar_top_right.png) + + bottom right - in case your wibar at the bottom: + + ![calendar_bottom_right](../awesome-wm-widgets/assets/img/screenshots/calendar-widget/calendar_bottom_right.png) + + +## How to use This widget needs an 'anchor' - another widget which triggers visibility of the calendar. Default `mytextclock` is the perfect candidate! ```lua local calendar_widget = require("awesome-wm-widgets.calendar-widget.calendar") -- ... +-- {{{ Wibar -- Create a textclock widget mytextclock = wibox.widget.textclock() -mytextclock:connect_signal("button::press", +-- default +cw = calendar_widget() +-- or customized +cw = calendar_widget({ + theme = 'outrun', + placement = 'bottom_right' +}) +mytextclock:connect_signal("button::press", function(_, _, _, button) - if button == 1 then calendar_widget.toggle() end + if button == 1 then cw.toggle() end end) -``` \ No newline at end of file +``` diff --git a/assets/img/screenshots/audio-volume-muted-symbolic.png b/assets/img/screenshots/audio-volume-muted-symbolic.png deleted file mode 100644 index b9dffd6..0000000 Binary files a/assets/img/screenshots/audio-volume-muted-symbolic.png and /dev/null differ diff --git a/assets/img/screenshots/audio-volume-muted-symbolic.svg b/assets/img/screenshots/audio-volume-muted-symbolic.svg deleted file mode 100644 index e577d05..0000000 --- a/assets/img/screenshots/audio-volume-muted-symbolic.svg +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - diff --git a/assets/img/screenshots/audio-volume-muted-symbolic_red.png b/assets/img/screenshots/audio-volume-muted-symbolic_red.png deleted file mode 100644 index f47807d..0000000 Binary files a/assets/img/screenshots/audio-volume-muted-symbolic_red.png and /dev/null differ diff --git a/assets/img/screenshots/audio-volume-muted-symbolic_red.svg b/assets/img/screenshots/audio-volume-muted-symbolic_red.svg deleted file mode 100644 index d42c2ba..0000000 --- a/assets/img/screenshots/audio-volume-muted-symbolic_red.svg +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - diff --git a/assets/img/screenshots/awesome-taglist-1.png b/assets/img/screenshots/awesome-taglist-1.png deleted file mode 100644 index 3626485..0000000 Binary files a/assets/img/screenshots/awesome-taglist-1.png and /dev/null differ diff --git a/assets/img/screenshots/awesome-taglist-2.png b/assets/img/screenshots/awesome-taglist-2.png deleted file mode 100644 index 9539cf5..0000000 Binary files a/assets/img/screenshots/awesome-taglist-2.png and /dev/null differ diff --git a/assets/img/screenshots/battery-wid-1.png b/assets/img/screenshots/battery-wid-1.png deleted file mode 100644 index 00e1618..0000000 Binary files a/assets/img/screenshots/battery-wid-1.png and /dev/null differ diff --git a/assets/img/screenshots/battery-wid-2.png b/assets/img/screenshots/battery-wid-2.png deleted file mode 100644 index ae20af2..0000000 Binary files a/assets/img/screenshots/battery-wid-2.png and /dev/null differ diff --git a/assets/img/screenshots/battery-wid-22.png b/assets/img/screenshots/battery-wid-22.png deleted file mode 100644 index 38761f7..0000000 Binary files a/assets/img/screenshots/battery-wid-22.png and /dev/null differ diff --git a/assets/img/screenshots/battery-wid-3.png b/assets/img/screenshots/battery-wid-3.png deleted file mode 100644 index 352b496..0000000 Binary files a/assets/img/screenshots/battery-wid-3.png and /dev/null differ diff --git a/assets/img/screenshots/batteryarc-10_c.png b/assets/img/screenshots/batteryarc-10_c.png deleted file mode 100644 index 3faf753..0000000 Binary files a/assets/img/screenshots/batteryarc-10_c.png and /dev/null differ diff --git a/assets/img/screenshots/batteryarc-10_d.png b/assets/img/screenshots/batteryarc-10_d.png deleted file mode 100644 index c9aa8d3..0000000 Binary files a/assets/img/screenshots/batteryarc-10_d.png and /dev/null differ diff --git a/assets/img/screenshots/batteryarc-20_c.png b/assets/img/screenshots/batteryarc-20_c.png deleted file mode 100644 index f0a191d..0000000 Binary files a/assets/img/screenshots/batteryarc-20_c.png and /dev/null differ diff --git a/assets/img/screenshots/batteryarc-20_d.png b/assets/img/screenshots/batteryarc-20_d.png deleted file mode 100644 index 15fabed..0000000 Binary files a/assets/img/screenshots/batteryarc-20_d.png and /dev/null differ diff --git a/assets/img/screenshots/batteryarc-80_c.png b/assets/img/screenshots/batteryarc-80_c.png deleted file mode 100644 index e6dae75..0000000 Binary files a/assets/img/screenshots/batteryarc-80_c.png and /dev/null differ diff --git a/assets/img/screenshots/batteryarc-80_d.png b/assets/img/screenshots/batteryarc-80_d.png deleted file mode 100644 index 220c8e3..0000000 Binary files a/assets/img/screenshots/batteryarc-80_d.png and /dev/null differ diff --git a/assets/img/screenshots/brightness-wid-1.png b/assets/img/screenshots/brightness-wid-1.png deleted file mode 100644 index f9200eb..0000000 Binary files a/assets/img/screenshots/brightness-wid-1.png and /dev/null differ diff --git a/assets/img/screenshots/calendar-widget/calendar_bottom_right.png b/assets/img/screenshots/calendar-widget/calendar_bottom_right.png new file mode 100644 index 0000000..2bc2e82 Binary files /dev/null and b/assets/img/screenshots/calendar-widget/calendar_bottom_right.png differ diff --git a/assets/img/screenshots/calendar-widget/nord.png b/assets/img/screenshots/calendar-widget/nord.png new file mode 100644 index 0000000..94f9f7e Binary files /dev/null and b/assets/img/screenshots/calendar-widget/nord.png differ diff --git a/assets/img/screenshots/calendar-widget/outrun.png b/assets/img/screenshots/calendar-widget/outrun.png new file mode 100644 index 0000000..d59c123 Binary files /dev/null and b/assets/img/screenshots/calendar-widget/outrun.png differ diff --git a/assets/img/screenshots/cpu-widget.gif b/assets/img/screenshots/cpu-widget.gif deleted file mode 100644 index ac7542d..0000000 Binary files a/assets/img/screenshots/cpu-widget.gif and /dev/null differ diff --git a/assets/img/screenshots/email-widget-1.png b/assets/img/screenshots/email-widget-1.png deleted file mode 100644 index 5290ea8..0000000 Binary files a/assets/img/screenshots/email-widget-1.png and /dev/null differ diff --git a/assets/img/screenshots/email-widget-2.png b/assets/img/screenshots/email-widget-2.png deleted file mode 100644 index 0a0fd3a..0000000 Binary files a/assets/img/screenshots/email-widget-2.png and /dev/null differ diff --git a/assets/img/screenshots/ram-widget.gif b/assets/img/screenshots/ram-widget.gif deleted file mode 100644 index 736f894..0000000 Binary files a/assets/img/screenshots/ram-widget.gif and /dev/null differ diff --git a/assets/img/screenshots/spotify-shell.gif b/assets/img/screenshots/spotify-shell.gif deleted file mode 100644 index 6696b3a..0000000 Binary files a/assets/img/screenshots/spotify-shell.gif and /dev/null differ diff --git a/assets/img/screenshots/spotify-widget.png b/assets/img/screenshots/spotify-widget.png deleted file mode 100644 index 296c2f6..0000000 Binary files a/assets/img/screenshots/spotify-widget.png and /dev/null differ diff --git a/assets/img/screenshots/systray.png b/assets/img/screenshots/systray.png deleted file mode 100644 index 9456f0c..0000000 Binary files a/assets/img/screenshots/systray.png and /dev/null differ diff --git a/assets/img/screenshots/translate-shell.gif b/assets/img/screenshots/translate-shell.gif deleted file mode 100644 index 3645d47..0000000 Binary files a/assets/img/screenshots/translate-shell.gif and /dev/null differ diff --git a/assets/img/screenshots/volume-widget.png b/assets/img/screenshots/volume-widget.png deleted file mode 100644 index 6f09cce..0000000 Binary files a/assets/img/screenshots/volume-widget.png and /dev/null differ diff --git a/assets/img/screenshots/volumearc-widget.gif b/assets/img/screenshots/volumearc-widget.gif deleted file mode 100644 index 61fa486..0000000 Binary files a/assets/img/screenshots/volumearc-widget.gif and /dev/null differ diff --git a/assets/img/screenshots/volumebar-widget.gif b/assets/img/screenshots/volumebar-widget.gif deleted file mode 100644 index 16653c8..0000000 Binary files a/assets/img/screenshots/volumebar-widget.gif and /dev/null differ diff --git a/assets/img/screenshots/weather-widget.png b/assets/img/screenshots/weather-widget.png deleted file mode 100644 index 177b350..0000000 Binary files a/assets/img/screenshots/weather-widget.png and /dev/null differ diff --git a/update_from_master.sh b/update_from_master.sh old mode 100644 new mode 100755