From 9b138c1c764b61a252d0ba2c56aae1e0cbb5bb8f Mon Sep 17 00:00:00 2001 From: Zedhugh Chen Date: Sun, 19 Feb 2023 21:40:29 +0800 Subject: [PATCH] change awesome config for alpha and tagname --- awesome/multicolor-theme.lua | 6 +++--- awesome/rc.lua | 9 ++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/awesome/multicolor-theme.lua b/awesome/multicolor-theme.lua index dfe3de0..045070b 100644 --- a/awesome/multicolor-theme.lua +++ b/awesome/multicolor-theme.lua @@ -20,7 +20,7 @@ theme.wallpaper = theme.confdir .. "/wall.png" theme.font = "Terminus 8" theme.menu_bg_normal = "#000000" theme.menu_bg_focus = "#000000" -theme.bg_normal = "#000000" +theme.bg_normal = "#000000d0" theme.bg_focus = "#000000" theme.bg_urgent = "#000000" theme.fg_normal = "#aaaaaa" @@ -36,7 +36,7 @@ theme.menu_width = dpi(130) theme.menu_submenu_icon = theme.confdir .. "/icons/submenu.png" theme.menu_fg_normal = "#aaaaaa" theme.menu_fg_focus = "#ff8c00" -theme.menu_bg_normal = "#050505dd" +theme.menu_bg_normal = "#05050588" theme.menu_bg_focus = "#050505dd" theme.widget_temp = theme.confdir .. "/icons/temp.png" theme.widget_uptime = theme.confdir .. "/icons/ac.png" @@ -96,7 +96,7 @@ local markup = lain.util.markup -- Textclock os.setlocale(os.getenv("LANG")) -- to localize the 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 -- Calendar diff --git a/awesome/rc.lua b/awesome/rc.lua index ba44fad..20018f1 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -57,7 +57,7 @@ local function run_once(cmd_arr) 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 --[[ @@ -98,7 +98,6 @@ local browser = os.getenv("BROWSER") or "firefox" local scrlocker = "slock" awful.util.terminal = terminal --- ❶❷❸❹❺❻❼❽❾❿ ➊➋➌➍➎➏➐➑➒➓ -- 支持的窗口布局 -- { awful.layout.suit.fair.horizontal, -- awful.layout.suit.floating, @@ -130,13 +129,13 @@ local function tag_config() if screen_number == 2 then tags = { settings = { - { names = { "➊ term", "➋ firefox", "➌ others" }, + { names = { "1  ", "2  ", "3  " }, layout = { awful.layout.suit.fair, awful.layout.suit.floating, awful.layout.suit.tile.top } }, - { names = { "➊ term", "➋ emacs", "➌ media", "➍ VirtualBox", "➎ others" }, + { names = { "1  ", "2  ", "3  ", "4  ", "5 " }, layout = { awful.layout.suit.fair, awful.layout.suit.tile.bottom, @@ -147,7 +146,7 @@ local function tag_config() else tags = { settings = { - { names = { "➊ term", "➋ firefox", "➌ emacs", "➍ media", "➎ VirtualBox", "➏ others" }, + { names = { "1 ", "2  ", "3  ", "4  ", "5  ", "6  " }, layout = { awful.layout.suit.fair, awful.layout.suit.floating,