From be8fb79824ca34bdb8acf8ed11e7033fcc62f770 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 10 Oct 2017 12:50:18 +0200 Subject: Create a desktop for each screen present at startup. --- rc.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3