Create a taglist file

This commit is contained in:
Noella
2024-03-04 17:40:04 -07:00
parent d2f76bc78e
commit 76dab2fd42
4 changed files with 89 additions and 65 deletions

12
main/layouts.lua Normal file
View 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
View 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

View File

@@ -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