diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index 16e1492..29a4053 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -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