Revert "layouts: use termfair layout for terminals"

This reverts commit eb309fd35b. While this
seemed a good idea, I find easier the regular fair layout.
This commit is contained in:
Vincent Bernat 2014-01-12 14:31:19 +01:00
parent c432aee85f
commit 2845d99010
5 changed files with 1 additions and 16 deletions

3
.gitmodules vendored
View file

@ -1,3 +0,0 @@
[submodule "lain"]
path = lain
url = https://github.com/copycat-killer/lain.git

View file

@ -58,9 +58,3 @@ way to load them is to use:
require("lib/quake") require("lib/quake")
local quake = package.loaded["vbe/quake"] local quake = package.loaded["vbe/quake"]
I am using [lain][] for additional layouts. It is included as a
submodule. I would have preferred to put it in `lib/`, but this does
not seem possible. Don't forget to run `git submodule update`.
[lain]: https://github.com/copycat-killer/lain/

1
lain

@ -1 +0,0 @@
Subproject commit fddeeff66466ca8f8bd7d06099eabd1feda10675

View file

@ -2,7 +2,6 @@
local shifty = loadrc("shifty", "vbe/shifty") local shifty = loadrc("shifty", "vbe/shifty")
local keydoc = loadrc("keydoc", "vbe/keydoc") local keydoc = loadrc("keydoc", "vbe/keydoc")
local lain = require("lain")
local tagicon = function(icon) local tagicon = function(icon)
if screen.count() > 1 then if screen.count() > 1 then
@ -31,9 +30,7 @@ shifty.config.tags = {
}, },
xterm = { xterm = {
position = 1, position = 1,
layout = lain.layout.termfair, layout = awful.layout.suit.fair,
nmaster = math.floor(screen[1].geometry.width / 500),
ncol = 1,
exclusive = true, exclusive = true,
slave = true, slave = true,
spawn = config.terminal, spawn = config.terminal,

View file

@ -40,8 +40,6 @@ theme.taglist_squares_unsel = icons .. "/taglist/squarew.png"
for _, l in pairs(config.layouts) do for _, l in pairs(config.layouts) do
theme["layout_" .. l.name] = icons .. "/layouts/" .. l.name .. ".png" theme["layout_" .. l.name] = icons .. "/layouts/" .. l.name .. ".png"
end end
local lain_icons = awful.util.getdir("config") .. "/lain/icons/layout/zenburn"
theme.layout_termfair = lain_icons .. "/termfair.png"
-- Naughty -- Naughty
naughty.config.presets.normal.bg = theme.bg_widget naughty.config.presets.normal.bg = theme.bg_widget