remove awesome/lain

auto-flake-update
Yorick van Pelt 2016-08-26 17:02:46 +02:00
parent d78ff29188
commit 4862a629a2
3 changed files with 12 additions and 4 deletions

3
.gitmodules vendored
View File

@ -1,6 +1,3 @@
[submodule "pentadactyl/external/pentadactyl-solarized"]
path = pentadactyl/external/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

12
awesome/lain_patch.diff Normal file
View File

@ -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