change awesome config for alpha and tagname

This commit is contained in:
2023-02-19 21:40:29 +08:00
parent 8fc7f3df49
commit 9b138c1c76
2 changed files with 7 additions and 8 deletions

View File

@@ -20,7 +20,7 @@ theme.wallpaper = theme.confdir .. "/wall.png"
theme.font = "Terminus 8" theme.font = "Terminus 8"
theme.menu_bg_normal = "#000000" theme.menu_bg_normal = "#000000"
theme.menu_bg_focus = "#000000" theme.menu_bg_focus = "#000000"
theme.bg_normal = "#000000" theme.bg_normal = "#000000d0"
theme.bg_focus = "#000000" theme.bg_focus = "#000000"
theme.bg_urgent = "#000000" theme.bg_urgent = "#000000"
theme.fg_normal = "#aaaaaa" theme.fg_normal = "#aaaaaa"
@@ -36,7 +36,7 @@ theme.menu_width = dpi(130)
theme.menu_submenu_icon = theme.confdir .. "/icons/submenu.png" theme.menu_submenu_icon = theme.confdir .. "/icons/submenu.png"
theme.menu_fg_normal = "#aaaaaa" theme.menu_fg_normal = "#aaaaaa"
theme.menu_fg_focus = "#ff8c00" theme.menu_fg_focus = "#ff8c00"
theme.menu_bg_normal = "#050505dd" theme.menu_bg_normal = "#05050588"
theme.menu_bg_focus = "#050505dd" theme.menu_bg_focus = "#050505dd"
theme.widget_temp = theme.confdir .. "/icons/temp.png" theme.widget_temp = theme.confdir .. "/icons/temp.png"
theme.widget_uptime = theme.confdir .. "/icons/ac.png" theme.widget_uptime = theme.confdir .. "/icons/ac.png"
@@ -96,7 +96,7 @@ local markup = lain.util.markup
-- Textclock -- Textclock
os.setlocale(os.getenv("LANG")) -- to localize the clock os.setlocale(os.getenv("LANG")) -- to localize the clock
local clockicon = wibox.widget.imagebox(theme.widget_clock) local clockicon = wibox.widget.imagebox(theme.widget_clock)
local mytextclock = wibox.widget.textclock(markup("#7788af", "%A %d %B ") .. markup("#ab7367", ">") .. markup("#de5e1e", " %H:%M ")) local mytextclock = wibox.widget.textclock(markup("#7788af", "%A %d %B ") .. markup("#ab7367", ">") .. markup("#de5e1e", " %H:%M:%S "), 1)
mytextclock.font = theme.font mytextclock.font = theme.font
-- Calendar -- Calendar

View File

@@ -57,7 +57,7 @@ local function run_once(cmd_arr)
end end
end end
run_once({ "unclutter -root", "pulseaudio --start" }) -- entries must be separated by commas run_once({ "unclutter -root", "pulseaudio --start", "picom -b" }) -- entries must be separated by commas
-- This function implements the XDG autostart specification -- This function implements the XDG autostart specification
--[[ --[[
@@ -98,7 +98,6 @@ local browser = os.getenv("BROWSER") or "firefox"
local scrlocker = "slock" local scrlocker = "slock"
awful.util.terminal = terminal awful.util.terminal = terminal
-- ❶❷❸❹❺❻❼❽❾❿ ➊➋➌➍➎➏➐➑➒➓
-- 支持的窗口布局 -- 支持的窗口布局
-- { awful.layout.suit.fair.horizontal, -- { awful.layout.suit.fair.horizontal,
-- awful.layout.suit.floating, -- awful.layout.suit.floating,
@@ -130,13 +129,13 @@ local function tag_config()
if screen_number == 2 then if screen_number == 2 then
tags = { tags = {
settings = { settings = {
{ names = { "➊ term", "➋ firefox", "➌ others" }, { names = { "1  ", "2  ", "3  " },
layout = { layout = {
awful.layout.suit.fair, awful.layout.suit.fair,
awful.layout.suit.floating, awful.layout.suit.floating,
awful.layout.suit.tile.top awful.layout.suit.tile.top
} }, } },
{ names = { "➊ term", "➋ emacs", "➌ media", "➍ VirtualBox", "➎ others" }, { names = { "1  ", "2  ", "3  ", "4  ", "5 " },
layout = { layout = {
awful.layout.suit.fair, awful.layout.suit.fair,
awful.layout.suit.tile.bottom, awful.layout.suit.tile.bottom,
@@ -147,7 +146,7 @@ local function tag_config()
else else
tags = { tags = {
settings = { settings = {
{ names = { "➊ term", "➋ firefox", "➌ emacs", "➍ media", "➎ VirtualBox", "➏ others" }, { names = { "1 ", "2  ", "3  ", "4  ", "5  ", "6  " },
layout = { layout = {
awful.layout.suit.fair, awful.layout.suit.fair,
awful.layout.suit.floating, awful.layout.suit.floating,