diff options
Diffstat (limited to 'calendar-widget/calendar.lua')
-rw-r--r-- | calendar-widget/calendar.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar-widget/calendar.lua b/calendar-widget/calendar.lua index 4bb637f..bc4a877 100644 --- a/calendar-widget/calendar.lua +++ b/calendar-widget/calendar.lua @@ -232,9 +232,14 @@ local function worker(user_args) awful.placement.top(popup, { margins = { top = 30 }, parent = awful.screen.focused() }) elseif placement == 'top_right' then awful.placement.top_right(popup, { margins = { top = 30, right = 10}, parent = awful.screen.focused() }) + elseif placement == 'top_left' then + awful.placement.top_left(popup, { margins = { top = 30, left = 10}, parent = awful.screen.focused() }) elseif placement == 'bottom_right' then awful.placement.bottom_right(popup, { margins = { bottom = 30, right = 10}, parent = awful.screen.focused() }) + elseif placement == 'bottom_left' then + awful.placement.bottom_left(popup, { margins = { bottom = 30, left = 10}, + parent = awful.screen.focused() }) else awful.placement.top(popup, { margins = { top = 30 }, parent = awful.screen.focused() }) end |