diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-11-14 13:48:40 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-11-14 13:48:40 +0100 |
commit | c8ecee7bd49b5979406e44f477101ff6bfb235dc (patch) | |
tree | b85d19690a64dcb3621b607b29eb489f9551bda6 | |
parent | 5d833c04d2f83c68315ea3e1d9001d7afc4ce294 (diff) |
rc: do the per-screen setup on new screen connect
-rw-r--r-- | rc.lua | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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( |