diff options
author | Tom Willemse | 2014-08-21 20:13:58 +0200 |
---|---|---|
committer | Tom Willemse | 2014-08-21 20:13:58 +0200 |
commit | 7db1ce9b0a760da6ea94c0464f22b878cf3aa0f7 (patch) | |
tree | 9d30ae206cfa0190096ed3660b5744d28cc3590a /awesome | |
parent | a3ecc8fd9795da91c0007bb33c272d4e4b7d9dd9 (diff) | |
download | dotfiles-7db1ce9b0a760da6ea94c0464f22b878cf3aa0f7.tar.gz dotfiles-7db1ce9b0a760da6ea94c0464f22b878cf3aa0f7.zip |
Specify different layouts per machine
Diffstat (limited to 'awesome')
-rw-r--r-- | awesome/.config/awesome/rc.lua | 22 |
1 files changed, 7 insertions, 15 deletions
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 |