diff options
author | Anton Khirnov <anton@khirnov.net> | 2017-02-07 17:13:29 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2017-02-07 17:13:29 +0100 |
commit | f57f42d2e86d3c44b662ea0f587fb74d3f85ff4b (patch) | |
tree | 9734688c84b4e1b589df1c8ceb37bc5bc3a0572b /pager.lua | |
parent | 2502443f979a3efd073b2278734ec394fae3bfaf (diff) |
Add functionality for desktop renaming.
Diffstat (limited to 'pager.lua')
-rw-r--r-- | pager.lua | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |