diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-12-02 14:37:47 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-12-02 14:37:47 +0100 |
commit | c5282fe57820960f48a3e28f98609a848a972dfb (patch) | |
tree | e8f1a448ba31d6f11b9b4ab10a32ee062674751f /workspace.lua | |
parent | 86e54ab4666e041db2d3b88714aba2dbf9356485 (diff) |
workspace: use more easily parsable names for tags/pages
Diffstat (limited to 'workspace.lua')
-rw-r--r-- | workspace.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/workspace.lua b/workspace.lua index f6ac79d..2ba67e5 100644 --- a/workspace.lua +++ b/workspace.lua @@ -16,7 +16,7 @@ function Workspace:add_desktop(idx, name, nb_pages) desk.pages = {} desk.indices_free = stack.Stack:new() for i = 1, nb_pages do - desk.pages[i] = awful.tag.add(name .. i, { layout = self.layouts[1] }) + desk.pages[i] = awful.tag.add(string.format("%02x%02x", idx, i), { layout = self.layouts[1] }) desk.indices_free:push(i) end |