summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Keller <tjkeller.xyz>2025-04-12 20:13:01 -0500
committerTim Keller <tjkeller.xyz>2025-04-12 20:13:01 -0500
commit98060b5004fff8889d352667c130d89c21459f9f (patch)
tree4050f9603acb9532aa2486ffbd161c052c0aa0d1
parent6a4e7e1e90e53fd7b4af50b971814fa290d2f5f2 (diff)
downloadawesome-98060b5004fff8889d352667c130d89c21459f9f.tar.xz
awesome-98060b5004fff8889d352667c130d89c21459f9f.zip
calendar popup
-rw-r--r--bar.lua4
-rw-r--r--rc.lua1
2 files changed, 4 insertions, 1 deletions
diff --git a/bar.lua b/bar.lua
index baaf60e..b038bd2 100644
--- a/bar.lua
+++ b/bar.lua
@@ -104,6 +104,10 @@ function widgets.right_widgets(s) return wibox.widget {
--mylauncher,
} end
+-- create calendar popup on textclock
+local month_calendar = awful.widget.calendar_popup.month()
+month_calendar:attach(widgets.textclock, "t", { on_hover = false })
+
-- create a wibox for each screen and add it
awful.screen.connect_for_each_screen(function (s)
awful.tag({"1", "2", "3", "4", "5", "6", "7", "8", "9"}, s, awful.layout.layouts[1])
diff --git a/rc.lua b/rc.lua
index fbd25f1..b222fb5 100644
--- a/rc.lua
+++ b/rc.lua
@@ -25,7 +25,6 @@ require("func.noborders")
require("func.sloppyfocus")
--require("func.warpcursor")
require("func.tagnames")
---require("widgets.audio")
-- call override module if exists
--pcall(function() require("hosts." .. hostname) end)