From 7702f00efad8c1bcfa34b9e5cce4e99f3ac8bf1a Mon Sep 17 00:00:00 2001 From: "A.J. Palmer" Date: Tue, 24 May 2022 08:49:32 -0600 Subject: add left positions for calendar --- calendar-widget/calendar.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'calendar-widget') 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 -- cgit v1.2.3