mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-22 20:04:30 +02:00
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:
parent
c432aee85f
commit
2845d99010
5 changed files with 1 additions and 16 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +0,0 @@
|
||||||
[submodule "lain"]
|
|
||||||
path = lain
|
|
||||||
url = https://github.com/copycat-killer/lain.git
|
|
|
@ -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
lain
|
@ -1 +0,0 @@
|
||||||
Subproject commit fddeeff66466ca8f8bd7d06099eabd1feda10675
|
|
|
@ -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,
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue