remove awesome/lain
parent
d78ff29188
commit
4862a629a2
|
@ -1,6 +1,3 @@
|
||||||
[submodule "pentadactyl/external/pentadactyl-solarized"]
|
[submodule "pentadactyl/external/pentadactyl-solarized"]
|
||||||
path = pentadactyl/external/pentadactyl-solarized
|
path = pentadactyl/external/pentadactyl-solarized
|
||||||
url = https://github.com/claytron/pentadactyl-solarized
|
url = https://github.com/claytron/pentadactyl-solarized
|
||||||
[submodule "awesome/lain"]
|
|
||||||
path = awesome/lain
|
|
||||||
url = https://github.com/copycat-killer/lain
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 27ebd0a30d9634ea403a4c9f3c2139c2498faaea
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
diff --git a/layout/centerfair.lua b/layout/centerfair.lua
|
||||||
|
index 5022726..5c63cfa 100644
|
||||||
|
--- a/layout/centerfair.lua
|
||||||
|
+++ b/layout/centerfair.lua
|
||||||
|
@@ -70,6 +70,7 @@ function centerfair.arrange(p)
|
||||||
|
if #cls < num_x
|
||||||
|
then
|
||||||
|
-- Less clients than the number of columns, let's center it!
|
||||||
|
+ if #cls == 1 then width = width * 1.5 end
|
||||||
|
local offset_x = wa.x + (wa.width - #cls*width - (#cls - 1)*useless_gap) / 2
|
||||||
|
local g = {}
|
||||||
|
g.y = wa.y + useless_gap
|
Loading…
Reference in New Issue