Specify different layouts per machine
This commit is contained in:
parent
a3ecc8fd97
commit
7db1ce9b0a
1 changed files with 7 additions and 15 deletions
|
@ -19,6 +19,7 @@ package.path =
|
||||||
local avandu = require 'avandu'
|
local avandu = require 'avandu'
|
||||||
|
|
||||||
local maildir_base = os.getenv("HOME") .. "/documents/mail/"
|
local maildir_base = os.getenv("HOME") .. "/documents/mail/"
|
||||||
|
local hostname = posix.uname("%n")
|
||||||
|
|
||||||
function new_mail(maildir)
|
function new_mail(maildir)
|
||||||
local count = 0
|
local count = 0
|
||||||
|
@ -88,21 +89,12 @@ editor_cmd = editor
|
||||||
modkey = "Mod4"
|
modkey = "Mod4"
|
||||||
|
|
||||||
-- Table of layouts to cover with awful.layout.inc, order matters.
|
-- Table of layouts to cover with awful.layout.inc, order matters.
|
||||||
local layouts =
|
local layouts = {}
|
||||||
{
|
|
||||||
awful.layout.suit.tile,
|
if hostname == "drd" then layouts = { awful.layout.suit.tile,
|
||||||
-- awful.layout.suit.tile.left,
|
awful.layout.suit.max }
|
||||||
-- awful.layout.suit.tile.bottom,
|
elseif hostname == "phoenix" then layouts = { awful.layout.suit.max }
|
||||||
-- awful.layout.suit.tile.top,
|
end
|
||||||
-- awful.layout.suit.fair,
|
|
||||||
-- awful.layout.suit.fair.horizontal,
|
|
||||||
-- awful.layout.suit.spiral,
|
|
||||||
-- awful.layout.suit.spiral.dwindle,
|
|
||||||
awful.layout.suit.max,
|
|
||||||
-- awful.layout.suit.max.fullscreen,
|
|
||||||
-- awful.layout.suit.magnifier,
|
|
||||||
-- awful.layout.suit.floating,
|
|
||||||
}
|
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
-- {{{ Wallpaper
|
-- {{{ Wallpaper
|
||||||
|
|
Loading…
Reference in a new issue