summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-11-14 13:53:17 +0100
committerAnton Khirnov <anton@khirnov.net>2021-11-14 13:53:17 +0100
commit2871a334784feedbdd853feb83feabb4645e18af (patch)
tree0cda5c2802f9aa3ac326345d29f46733ec58746c
parentc8ecee7bd49b5979406e44f477101ff6bfb235dc (diff)
rc: fix focusing the initial page on startup
-rw-r--r--rc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.lua b/rc.lua
index 5ff66cb..e1d23c2 100644
--- a/rc.lua
+++ b/rc.lua
@@ -123,7 +123,7 @@ awful.screen.connect_for_each_screen(function(s)
mywibox[s]:set_widget(layout)
-- show desktop <n> on <n>th screen
- wsp:view(s, s.index, 1)
+ gears.timer.delayed_call(function(s) wsp:view(s, s.index, 1) end, s)
end)