summaryrefslogtreecommitdiff
path: root/pager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'pager.lua')
-rw-r--r--pager.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/pager.lua b/pager.lua
index 1cef725..d2e67d4 100644
--- a/pager.lua
+++ b/pager.lua
@@ -114,6 +114,12 @@ local function pager_set_desktop(self, desktop)
local title_fg = beautiful.fg_focus or "#000000"
local title_container = wibox.widget.background(title, title_bg)
title_container:set_fg(title_fg)
+
+ self.desktop:connect_signal("desktop:name",
+ function(desktop, name)
+ title:set_text(name)
+ end)
+
self:add(title_container)
for i = 1, nb_pages do