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 maildir_base = os.getenv("HOME") .. "/documents/mail/"
|
||||
local hostname = posix.uname("%n")
|
||||
|
||||
function new_mail(maildir)
|
||||
local count = 0
|
||||
|
@ -88,21 +89,12 @@ editor_cmd = editor
|
|||
modkey = "Mod4"
|
||||
|
||||
-- Table of layouts to cover with awful.layout.inc, order matters.
|
||||
local layouts =
|
||||
{
|
||||
awful.layout.suit.tile,
|
||||
-- awful.layout.suit.tile.left,
|
||||
-- awful.layout.suit.tile.bottom,
|
||||
-- awful.layout.suit.tile.top,
|
||||
-- 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,
|
||||
}
|
||||
local layouts = {}
|
||||
|
||||
if hostname == "drd" then layouts = { awful.layout.suit.tile,
|
||||
awful.layout.suit.max }
|
||||
elseif hostname == "phoenix" then layouts = { awful.layout.suit.max }
|
||||
end
|
||||
-- }}}
|
||||
|
||||
-- {{{ Wallpaper
|
||||
|
|
Loading…
Reference in a new issue