summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rc.lua9
1 files changed, 7 insertions, 2 deletions
diff --git a/rc.lua b/rc.lua
index 0a8a4f1..5ff66cb 100644
--- a/rc.lua
+++ b/rc.lua
@@ -77,7 +77,12 @@ mypromptbox = {}
local wsp = workspace.Workspace:new(layouts)
-for s in screen do
+awful.screen.connect_for_each_screen(function(s)
+ print('connected screen')
+ for k, v in pairs(s.outputs) do
+ print(k)
+ end
+
local panel_width = beautiful.xresources.apply_dpi(128, s)
-- Create a promptbox for each screen
@@ -119,7 +124,7 @@ for s in screen do
-- show desktop <n> on <n>th screen
wsp:view(s, s.index, 1)
-end
+end)
clientbuttons = gears.table.join(