Commit b8902b96c1bd060e172e7a4cb1df5087badecc08

Authored by Ian Foster
1 parent 12cc241a1b
Exists in master

allowed user to set termfair settings globally

Showing 1 changed file with 5 additions and 3 deletions Side-by-side Diff

awesome/awesome/layouts/termfair.lua View file @ b8902b9
... ... @@ -41,14 +41,16 @@
41 41 local cls = p.clients
42 42  
43 43 -- How many vertical columns? Read from nmaster on the tag.
44   - local t = tag.selected(p.screen)
45   - local num_x = tag.getnmaster(t)
  44 + --local t = tag.selected(p.screen)
  45 + --local num_x = tag.getnmaster(t)
  46 + local num_x = nmaster
46 47  
47 48 -- Do at least "desired_y" rows. Read this from ncol. (Yes, I use a
48 49 -- *column* setting to set the number of *rows*. That's because
49 50 -- num_x is the *master* setting -- it's the setting that's most
50 51 -- important to me.)
51   - local desired_y = tag.getncol(t)
  52 + --local desired_y = tag.getncol(t)
  53 + local desired_y = ncol
52 54  
53 55 if #cls > 0
54 56 then