1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2025-01-10 17:58:09 +00:00

Moved tags and layouts to ./settings/tags.lua

This commit is contained in:
aviau 2014-05-12 14:21:42 -04:00
parent fe44ee12a1
commit fbcc1210bb
9 changed files with 52 additions and 151 deletions

View file

@ -29,23 +29,8 @@ beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/blackburn/theme.lua
-- variables
require("settings.variables")
layouts = {
awful.layout.suit.floating,
lain.layout.uselesstile,
awful.layout.suit.fair,
lain.layout.uselesstile.left,
lain.layout.uselesstile.top
}
-- }}}
-- {{{ Tags
tags = {
names = { "ƀ", "Ƅ", "Ɗ", "ƈ", "ƙ" },
layout = { layouts[1], layouts[3], layouts[2], layouts[1], layouts[5] }
}
for s = 1, screen.count() do
tags[s] = awful.tag(tags.names, s, tags.layout)
end
-- Tags and layouts
require("settings.tags")
-- }}}
-- {{{ Wallpaper

View file

@ -36,27 +36,8 @@ lain.layout.termfair.ncol = 1
lain.layout.centerfair.nmaster = 3
lain.layout.centerfair.ncol = 1
layouts = {
awful.layout.suit.floating,
awful.layout.suit.fair,
awful.layout.suit.tile,
lain.layout.uselessfair.horizontal,
lain.layout.uselesstile,
lain.layout.uselessfair,
lain.layout.termfair,
lain.layout.centerfair,
lain.layout.uselesspiral.dwindle
}
-- }}}
-- {{{ Tags
tags = {
names = { "start", "2", "3", "4", "5" },
layout = { layouts[1], layouts[2], layouts[3], layouts[4], layouts[5] }
}
for s = 1, screen.count() do
tags[s] = awful.tag(tags.names, s, tags.layout)
end
-- Tags and layouts
require("settings.tags")
-- }}}
-- {{{ Wallpaper

View file

@ -29,23 +29,8 @@ beautiful.init(awful.util.getdir("config") .. "/themes/dremora/theme.lua")
-- variables
require("settings.variables")
layouts = {
awful.layout.suit.floating,
lain.layout.uselesstile,
awful.layout.suit.fair,
lain.layout.uselesstile.left,
lain.layout.uselesstile.top
}
-- }}}
-- {{{ Tags
tags = {
names = { "ƀ", "Ƅ", "Ɗ", "ƈ", "ƙ" },
layout = { layouts[1], layouts[3], layouts[2], layouts[1], layouts[5] }
}
for s = 1, screen.count() do
tags[s] = awful.tag(tags.names, s, tags.layout)
end
-- Tags and layouts
require("settings.tags")
-- }}}
-- {{{ Wallpaper

View file

@ -31,23 +31,8 @@ require("settings.variables")
musiplr = terminal .. " -e ncmpcpp "
layouts = {
awful.layout.suit.floating,
lain.layout.uselesstile,
awful.layout.suit.fair,
lain.layout.uselesstile.left,
lain.layout.uselesstile.top
}
-- }}}
-- {{{ Tags
tags = {
names = { " WEB ", " TERMINAL ", " FILES ", " OTHER " },
layout = { layouts[1], layouts[3], layouts[2], layouts[4] }
}
for s = 1, screen.count() do
tags[s] = awful.tag(tags.names, s, tags.layout)
end
-- Tags and layouts
require("settings.tags")
-- }}}
-- {{{ Wallpaper

View file

@ -29,29 +29,8 @@ beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/multicolor/theme.lu
-- variables
require("settings.variables")
layouts = {
awful.layout.suit.floating,
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,
}
-- }}}
-- {{{ Tags
tags = {
names = { "web", "term", "docs", "media", "files", "other" },
layout = { layouts[1], layouts[3], layouts[4], layouts[1], layouts[7], layouts[1] }
}
for s = 1, screen.count() do
-- Each screen has its own tag table.
tags[s] = awful.tag(tags.names, s, tags.layout)
end
-- Tags and layouts
require("settings.tags")
-- }}}
-- {{{ Wallpaper

View file

@ -32,24 +32,8 @@ require("settings.variables")
iptraf = terminal .. " -g 180x54-20+34 -e sudo iptraf-ng -i all "
musicplr = terminal .. " -g 130x34-320+16 -e ncmpcpp "
layouts = {
awful.layout.suit.floating,
awful.layout.suit.tile,
awful.layout.suit.tile.bottom,
awful.layout.suit.fair,
awful.layout.suit.fair.horizontal,
}
-- }}}
-- {{{ Tags
tags = {
names = { "1", "2", "3", "4", "5"},
layout = { layouts[1], layouts[2], layouts[3], layouts[1], layouts[4] }
}
for s = 1, screen.count() do
tags[s] = awful.tag(tags.names, s, tags.layout)
end
-- Tags and layouts
require("settings.tags")
-- }}}
-- {{{ Wallpaper

View file

@ -33,26 +33,8 @@ require("settings.variables")
lain.layout.termfair.nmaster = 3
lain.layout.termfair.ncol = 1
layouts = {
awful.layout.suit.floating,
awful.layout.suit.fair,
awful.layout.suit.tile,
lain.layout.uselessfair.horizontal,
lain.layout.uselesstile,
lain.layout.uselessfair,
lain.layout.termfair,
lain.layout.uselesspiral.dwindle
}
-- }}}
-- {{{ Tags
tags = {
names = { "www", "dev", "docs", "media" },
layout = { layouts[1], layouts[2], layouts[3], layouts[4] }
}
for s = 1, screen.count() do
tags[s] = awful.tag(tags.names, s, tags.layout)
end
-- Tags and layouts
require("settings.tags")
-- }}}
-- {{{ Wallpaper

View file

@ -33,24 +33,8 @@ require("settings.variables")
lain.layout.termfair.nmaster = 3
lain.layout.termfair.ncol = 1
layouts = {
awful.layout.suit.floating,
lain.layout.uselessfair.horizontal,
lain.layout.uselesstile,
lain.layout.uselessfair,
lain.layout.termfair,
lain.layout.uselesspiral.dwindle
}
-- }}}
-- {{{ Tags
tags = {
names = { "web", "term", "docs", "media", "down"},
layout = { layouts[1], layouts[3], layouts[4], layouts[1], layouts[6] }
}
for s = 1, screen.count() do
tags[s] = awful.tag(tags.names, s, tags.layout)
end
-- Tags and layouts
require("settings.tags")
-- }}}
-- {{{ Wallpaper

36
settings/tags.lua Normal file
View file

@ -0,0 +1,36 @@
local awful = require("awful")
layouts = {
awful.layout.suit.floating,
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
}
tags = {
names = { 1, 2, 3, 4, 5, 6, 7, 8, 9 },
layout = {
layouts[1],
layouts[1],
layouts[1],
layouts[1],
layouts[1],
layouts[1],
layouts[1],
layouts[1],
layouts[1],
}
}
for s = 1, screen.count() do
tags[s] = awful.tag(tags.names, s, tags.layout)
end