diff options
author | Anton Khirnov <anton@khirnov.net> | 2017-10-10 12:50:18 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2017-10-10 12:50:35 +0200 |
commit | be8fb79824ca34bdb8acf8ed11e7033fcc62f770 (patch) | |
tree | 4a09fe55d1233a3ac48ca416a842440d277cf074 /rc.lua | |
parent | d7ba0787051d2b07e34ae00ed7fb9f581f8e5ee7 (diff) |
Create a desktop for each screen present at startup.
Diffstat (limited to 'rc.lua')
-rw-r--r-- | rc.lua | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |