mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2025-01-11 02:08:08 +00:00
Moved tags and layouts to ./settings/tags.lua
This commit is contained in:
parent
fe44ee12a1
commit
fbcc1210bb
|
@ -29,23 +29,8 @@ beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/blackburn/theme.lua
|
||||||
-- variables
|
-- variables
|
||||||
require("settings.variables")
|
require("settings.variables")
|
||||||
|
|
||||||
layouts = {
|
-- Tags and layouts
|
||||||
awful.layout.suit.floating,
|
require("settings.tags")
|
||||||
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
|
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
-- {{{ Wallpaper
|
-- {{{ Wallpaper
|
||||||
|
|
|
@ -36,27 +36,8 @@ lain.layout.termfair.ncol = 1
|
||||||
lain.layout.centerfair.nmaster = 3
|
lain.layout.centerfair.nmaster = 3
|
||||||
lain.layout.centerfair.ncol = 1
|
lain.layout.centerfair.ncol = 1
|
||||||
|
|
||||||
layouts = {
|
-- Tags and layouts
|
||||||
awful.layout.suit.floating,
|
require("settings.tags")
|
||||||
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
|
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
-- {{{ Wallpaper
|
-- {{{ Wallpaper
|
||||||
|
|
|
@ -29,23 +29,8 @@ beautiful.init(awful.util.getdir("config") .. "/themes/dremora/theme.lua")
|
||||||
-- variables
|
-- variables
|
||||||
require("settings.variables")
|
require("settings.variables")
|
||||||
|
|
||||||
layouts = {
|
-- Tags and layouts
|
||||||
awful.layout.suit.floating,
|
require("settings.tags")
|
||||||
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
|
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
-- {{{ Wallpaper
|
-- {{{ Wallpaper
|
||||||
|
|
19
rc.lua.holo
19
rc.lua.holo
|
@ -31,23 +31,8 @@ require("settings.variables")
|
||||||
|
|
||||||
musiplr = terminal .. " -e ncmpcpp "
|
musiplr = terminal .. " -e ncmpcpp "
|
||||||
|
|
||||||
layouts = {
|
-- Tags and layouts
|
||||||
awful.layout.suit.floating,
|
require("settings.tags")
|
||||||
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
|
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
-- {{{ Wallpaper
|
-- {{{ Wallpaper
|
||||||
|
|
|
@ -29,29 +29,8 @@ beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/multicolor/theme.lu
|
||||||
-- variables
|
-- variables
|
||||||
require("settings.variables")
|
require("settings.variables")
|
||||||
|
|
||||||
layouts = {
|
-- Tags and layouts
|
||||||
awful.layout.suit.floating,
|
require("settings.tags")
|
||||||
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
|
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
-- {{{ Wallpaper
|
-- {{{ Wallpaper
|
||||||
|
|
|
@ -32,24 +32,8 @@ require("settings.variables")
|
||||||
iptraf = terminal .. " -g 180x54-20+34 -e sudo iptraf-ng -i all "
|
iptraf = terminal .. " -g 180x54-20+34 -e sudo iptraf-ng -i all "
|
||||||
musicplr = terminal .. " -g 130x34-320+16 -e ncmpcpp "
|
musicplr = terminal .. " -g 130x34-320+16 -e ncmpcpp "
|
||||||
|
|
||||||
layouts = {
|
-- Tags and layouts
|
||||||
awful.layout.suit.floating,
|
require("settings.tags")
|
||||||
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
|
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
-- {{{ Wallpaper
|
-- {{{ Wallpaper
|
||||||
|
|
|
@ -33,26 +33,8 @@ require("settings.variables")
|
||||||
lain.layout.termfair.nmaster = 3
|
lain.layout.termfair.nmaster = 3
|
||||||
lain.layout.termfair.ncol = 1
|
lain.layout.termfair.ncol = 1
|
||||||
|
|
||||||
layouts = {
|
-- Tags and layouts
|
||||||
awful.layout.suit.floating,
|
require("settings.tags")
|
||||||
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
|
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
-- {{{ Wallpaper
|
-- {{{ Wallpaper
|
||||||
|
|
|
@ -33,24 +33,8 @@ require("settings.variables")
|
||||||
lain.layout.termfair.nmaster = 3
|
lain.layout.termfair.nmaster = 3
|
||||||
lain.layout.termfair.ncol = 1
|
lain.layout.termfair.ncol = 1
|
||||||
|
|
||||||
layouts = {
|
-- Tags and layouts
|
||||||
awful.layout.suit.floating,
|
require("settings.tags")
|
||||||
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
|
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
-- {{{ Wallpaper
|
-- {{{ Wallpaper
|
||||||
|
|
36
settings/tags.lua
Normal file
36
settings/tags.lua
Normal 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
|
Loading…
Reference in a new issue