summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2017-10-10 12:50:18 +0200
committerAnton Khirnov <anton@khirnov.net>2017-10-10 12:50:35 +0200
commitbe8fb79824ca34bdb8acf8ed11e7033fcc62f770 (patch)
tree4a09fe55d1233a3ac48ca416a842440d277cf074
parentd7ba0787051d2b07e34ae00ed7fb9f581f8e5ee7 (diff)
Create a desktop for each screen present at startup.
-rw-r--r--rc.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/rc.lua b/rc.lua
index 1cfaebe..691e0d2 100644
--- a/rc.lua
+++ b/rc.lua
@@ -55,7 +55,10 @@ local layouts =
-- {{{ Tags
workspace = workspace.Workspace:new(layouts)
-workspace:add_desktop(1, "main", 10)
+for s = 1, screen.count() do
+ workspace:add_desktop(s, "Desktop " .. s, 10)
+ workspace:view(s, s, 1)
+end
-- }}}
-- Menubar configuration