Advertisement
Guest User

pepe

a guest
Oct 31st, 2014
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.98 KB | None | 0 0
  1. -- Table of layouts to cover with awful.layout.inc, order matters.
  2. local layouts =
  3. {
  4.     awful.layout.suit.floating,
  5.     awful.layout.suit.tile,
  6.     awful.layout.suit.tile.left,
  7.     awful.layout.suit.tile.bottom,
  8.     awful.layout.suit.tile.top,
  9.     #awful.layout.suit.fair,
  10.     #awful.layout.suit.fair.horizontal,
  11.     #awful.layout.suit.spiral,
  12.     #awful.layout.suit.spiral.dwindle,
  13.     awful.layout.suit.max,
  14.     #awful.layout.suit.max.fullscreen,
  15.     #awful.layout.suit.magnifier
  16. }
  17. -- }}}
  18.  
  19. -- {{{ Wallpaper
  20. if beautiful.wallpaper then
  21.     for s = 1, screen.count() do
  22.         gears.wallpaper.maximized(beautiful.wallpaper, s, true)
  23.     end
  24. end
  25. -- }}}
  26.  
  27. -- {{{ Tags
  28. -- Define a tag table which hold all screen tags.
  29. tags = {
  30.     names = { "main", "www", "dev", "misc" },
  31.     layout = { layouts[2], layouts[10], layouts[2], layouts[2]
  32. }}
  33. for s = 1, screen.count() do
  34.     -- Each screen has its own tag table.
  35.     tags[s] = awful.tag(tags.names, s, tags.layout)
  36. end
  37. -- }}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement