Create a taglist file
This commit is contained in:
12
main/layouts.lua
Normal file
12
main/layouts.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
local awful = require("awful")
|
||||
|
||||
local _L = {}
|
||||
|
||||
_L = {
|
||||
awful.layout.suit.tile,
|
||||
awful.layout.suit.fair,
|
||||
awful.layout.suit.max,
|
||||
awful.layout.suit.floating,
|
||||
}
|
||||
|
||||
return _L
|
||||
27
main/taglist.lua
Normal file
27
main/taglist.lua
Normal file
@@ -0,0 +1,27 @@
|
||||
local awful = require("awful")
|
||||
|
||||
local _T = {}
|
||||
|
||||
local tags = {
|
||||
" Terminal",
|
||||
" Web",
|
||||
" Code",
|
||||
" Junk",
|
||||
" Music",
|
||||
" Chat",
|
||||
}
|
||||
|
||||
local layouts = {
|
||||
RC.layouts[0],
|
||||
RC.layouts[1],
|
||||
RC.layouts[2],
|
||||
RC.layouts[3],
|
||||
RC.layouts[3],
|
||||
RC.layouts[3],
|
||||
}
|
||||
|
||||
awful.screen.connect_for_each_screen(function(s)
|
||||
_T[s] = awful.tag(tags, s, layouts)
|
||||
end)
|
||||
|
||||
return _T
|
||||
@@ -3,9 +3,9 @@ local _V = {}
|
||||
_V = {
|
||||
terminal = "alacritty",
|
||||
editor = os.getenv("EDITOR") or "nvim",
|
||||
editor_cmd = _V.terminal .. " -e " .. _V.editor,
|
||||
modkey = "Mod4",
|
||||
wallpaper = os.getenv("HOME") .. "/.config/awesome/theme/background.jpg",
|
||||
}
|
||||
_V.editor_cmd = _V.terminal .. " -e " .. _V.editor
|
||||
|
||||
return _V
|
||||
|
||||
Reference in New Issue
Block a user