awesome/calendar
Thomas Forgione 0060372b9a Add calendar, no submodules 2021-04-03 13:26:28 +02:00
..
README.md Add calendar, no submodules 2021-04-03 13:26:28 +02:00
UNLICENSE Add calendar, no submodules 2021-04-03 13:26:28 +02:00
calendar.lua Add calendar, no submodules 2021-04-03 13:26:28 +02:00
init.lua Add calendar, no submodules 2021-04-03 13:26:28 +02:00
screenshot.png Add calendar, no submodules 2021-04-03 13:26:28 +02:00

README.md

awesome-calendar

Small calendar popup for awesome window manager.

Screenshot

This is a polished up and improved module based on the calendar2.lua module by Bernd Zeimetz and Marc Dequènes.

Installation

Drop the script into your awesome config folder. Suggestion:

cd ~/.config/awesome
git clone https://github.com/deficient/calendar.git

Usage

In your rc.lua:

-- load the widget code
local calendar = require("calendar")

-- attach it as popup to your text clock widget:
calendar({}):attach(mytextclock)

You can also add some options to customize the widget's display. For instance:

local calendar = require("calendar")
calendar_widget = calendar({
  fdow = 7,                  -- Set Sunday as first day of the week (default is
                             -- 1 = Monday)
  position = "bottom_right", -- Useful if you prefer your wibox at the bottomn
                             -- of the screen
})
calendar_widget:attach(mytextclock)

Requirements