From 1835f61e495be2d964f11395c606b73556ef883e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pankowski?= Date: Sat, 29 Mar 2025 12:42:46 +0100 Subject: [PATCH] awesome: change font and colors of help window --- awesome/.config/awesome/theme_dark.lua | 85 +++++++++++++------------ awesome/.config/awesome/theme_light.lua | 85 +++++++++++++------------ 2 files changed, 90 insertions(+), 80 deletions(-) diff --git a/awesome/.config/awesome/theme_dark.lua b/awesome/.config/awesome/theme_dark.lua index e7284de..8067052 100644 --- a/awesome/.config/awesome/theme_dark.lua +++ b/awesome/.config/awesome/theme_dark.lua @@ -1,51 +1,56 @@ -local themes_path = require("gears.filesystem").get_themes_dir() +local themes_path = require("gears.filesystem").get_themes_dir() -local xresources = require("beautiful.xresources") -local dpi = xresources.apply_dpi +local xresources = require("beautiful.xresources") +local dpi = xresources.apply_dpi -local theme = {} +local theme = {} -theme.font = "Fira Code Nerd Font 10.5" -theme.tasklist_disable_icon = true -theme.wibar_height = 40 +theme.font = "Fira Code Nerd Font 10.5" +theme.tasklist_disable_icon = true +theme.wibar_height = 40 -theme.bg_normal = "#283538" -theme.bg_focus = "#36537d" -- hsl(215deg 40% 35%) -theme.bg_urgent = "#d8aeb5" -theme.bg_minimize = "#363e49" -- hsl(215deg 15% 25%) -theme.bg_systray = theme.bg_normal -theme.tasklist_bg_focus = "#263c59" -- hsl(215deg 40% 25%) +theme.bg_normal = "#283538" +theme.bg_focus = "#36537d" -- hsl(215deg 40% 35%) +theme.bg_urgent = "#d8aeb5" +theme.bg_minimize = "#363e49" -- hsl(215deg 15% 25%) +theme.bg_systray = theme.bg_normal +theme.tasklist_bg_focus = "#263c59" -- hsl(215deg 40% 25%) -theme.fg_normal = "#9ea7aa" -theme.fg_focus = "#b1babd" -theme.fg_urgent = theme.bg_focus -theme.fg_minimize = "#8a9294" -theme.taglist_fg_empty = "#798082" +theme.fg_normal = "#9ea7aa" +theme.fg_focus = "#b1babd" +theme.fg_urgent = theme.bg_focus +theme.fg_minimize = "#8a9294" +theme.taglist_fg_empty = "#798082" -theme.useless_gap = dpi(1) -theme.border_width = dpi(2) -theme.border_normal = "#708090" -theme.border_focus = "#a0522d" -theme.border_marked = "#91231c" +theme.useless_gap = dpi(1) +theme.border_width = dpi(2) +theme.border_normal = "#708090" +theme.border_focus = "#a0522d" +theme.border_marked = "#91231c" -theme.bg_wallpaper = "#424a4c" +theme.bg_wallpaper = "#424a4c" + +theme.hotkeys_font = theme.font +theme.hotkeys_description_font = theme.font +theme.hotkeys_bg = theme.bg_minimize +theme.hotkeys_modifiers_fg = theme.border_focus -- You can use your own layout icons like this: -theme.layout_fairh = themes_path .. "default/layouts/fairhw.png" -theme.layout_fairv = themes_path .. "default/layouts/fairvw.png" -theme.layout_floating = themes_path .. "default/layouts/floatingw.png" -theme.layout_magnifier = themes_path .. "default/layouts/magnifierw.png" -theme.layout_max = themes_path .. "default/layouts/maxw.png" -theme.layout_fullscreen = themes_path .. "default/layouts/fullscreenw.png" -theme.layout_tilebottom = themes_path .. "default/layouts/tilebottomw.png" -theme.layout_tileleft = themes_path .. "default/layouts/tileleftw.png" -theme.layout_tile = themes_path .. "default/layouts/tilew.png" -theme.layout_tiletop = themes_path .. "default/layouts/tiletopw.png" -theme.layout_spiral = themes_path .. "default/layouts/spiralw.png" -theme.layout_dwindle = themes_path .. "default/layouts/dwindlew.png" -theme.layout_cornernw = themes_path .. "default/layouts/cornernww.png" -theme.layout_cornerne = themes_path .. "default/layouts/cornernew.png" -theme.layout_cornersw = themes_path .. "default/layouts/cornersww.png" -theme.layout_cornerse = themes_path .. "default/layouts/cornersew.png" +theme.layout_fairh = themes_path .. "default/layouts/fairhw.png" +theme.layout_fairv = themes_path .. "default/layouts/fairvw.png" +theme.layout_floating = themes_path .. "default/layouts/floatingw.png" +theme.layout_magnifier = themes_path .. "default/layouts/magnifierw.png" +theme.layout_max = themes_path .. "default/layouts/maxw.png" +theme.layout_fullscreen = themes_path .. "default/layouts/fullscreenw.png" +theme.layout_tilebottom = themes_path .. "default/layouts/tilebottomw.png" +theme.layout_tileleft = themes_path .. "default/layouts/tileleftw.png" +theme.layout_tile = themes_path .. "default/layouts/tilew.png" +theme.layout_tiletop = themes_path .. "default/layouts/tiletopw.png" +theme.layout_spiral = themes_path .. "default/layouts/spiralw.png" +theme.layout_dwindle = themes_path .. "default/layouts/dwindlew.png" +theme.layout_cornernw = themes_path .. "default/layouts/cornernww.png" +theme.layout_cornerne = themes_path .. "default/layouts/cornernew.png" +theme.layout_cornersw = themes_path .. "default/layouts/cornersww.png" +theme.layout_cornerse = themes_path .. "default/layouts/cornersew.png" return theme diff --git a/awesome/.config/awesome/theme_light.lua b/awesome/.config/awesome/theme_light.lua index 1e11f3c..d973631 100644 --- a/awesome/.config/awesome/theme_light.lua +++ b/awesome/.config/awesome/theme_light.lua @@ -1,51 +1,56 @@ -local themes_path = require("gears.filesystem").get_themes_dir() +local themes_path = require("gears.filesystem").get_themes_dir() -local xresources = require("beautiful.xresources") -local dpi = xresources.apply_dpi +local xresources = require("beautiful.xresources") +local dpi = xresources.apply_dpi -local theme = {} +local theme = {} -theme.font = "Fira Code Nerd Font 10.5" -theme.tasklist_disable_icon = true -theme.wibar_height = 40 +theme.font = "Fira Code Nerd Font 10.5" +theme.tasklist_disable_icon = true +theme.wibar_height = 40 -theme.bg_normal = "#283538" -theme.bg_focus = "#82a0c9" -- hsl(215deg 40% 65%) -theme.bg_urgent = "#d0426a" -theme.bg_minimize = "#7b899d" -- hsl(215deg 15% 55%) -theme.bg_systray = theme.bg_normal -theme.tasklist_bg_focus = "#5e85ba" -- hsl(215deg 40% 55%) +theme.bg_normal = "#283538" +theme.bg_focus = "#82a0c9" -- hsl(215deg 40% 65%) +theme.bg_urgent = "#d0426a" +theme.bg_minimize = "#7b899d" -- hsl(215deg 15% 55%) +theme.bg_systray = theme.bg_normal +theme.tasklist_bg_focus = "#5e85ba" -- hsl(215deg 40% 55%) -theme.fg_normal = "#616c6f" -theme.fg_focus = "#363d3e" -theme.fg_urgent = "#e9f2f5" -theme.fg_minimize = "#4b5456" -theme.taglist_fg_empty = "#566063" +theme.fg_normal = "#616c6f" +theme.fg_focus = "#363d3e" +theme.fg_urgent = "#e9f2f5" +theme.fg_minimize = "#4b5456" +theme.taglist_fg_empty = "#566063" -theme.useless_gap = dpi(1) -theme.border_width = dpi(2) -theme.border_normal = "#bebebe" -theme.border_focus = "#ff7f50" -theme.border_marked = "#91231c" +theme.useless_gap = dpi(1) +theme.border_width = dpi(2) +theme.border_normal = "#bebebe" +theme.border_focus = "#ff7f50" +theme.border_marked = "#91231c" -theme.bg_wallpaper = "#b0bec2" +theme.bg_wallpaper = "#b0bec2" + +theme.hotkeys_font = theme.font +theme.hotkeys_description_font = theme.font +theme.hotkeys_bg = theme.border_normal +theme.hotkeys_modifiers_fg = theme.bg_focus -- You can use your own layout icons like this: -theme.layout_fairh = themes_path .. "default/layouts/fairhw.png" -theme.layout_fairv = themes_path .. "default/layouts/fairvw.png" -theme.layout_floating = themes_path .. "default/layouts/floatingw.png" -theme.layout_magnifier = themes_path .. "default/layouts/magnifierw.png" -theme.layout_max = themes_path .. "default/layouts/maxw.png" -theme.layout_fullscreen = themes_path .. "default/layouts/fullscreenw.png" -theme.layout_tilebottom = themes_path .. "default/layouts/tilebottomw.png" -theme.layout_tileleft = themes_path .. "default/layouts/tileleftw.png" -theme.layout_tile = themes_path .. "default/layouts/tilew.png" -theme.layout_tiletop = themes_path .. "default/layouts/tiletopw.png" -theme.layout_spiral = themes_path .. "default/layouts/spiralw.png" -theme.layout_dwindle = themes_path .. "default/layouts/dwindlew.png" -theme.layout_cornernw = themes_path .. "default/layouts/cornernww.png" -theme.layout_cornerne = themes_path .. "default/layouts/cornernew.png" -theme.layout_cornersw = themes_path .. "default/layouts/cornersww.png" -theme.layout_cornerse = themes_path .. "default/layouts/cornersew.png" +theme.layout_fairh = themes_path .. "default/layouts/fairhw.png" +theme.layout_fairv = themes_path .. "default/layouts/fairvw.png" +theme.layout_floating = themes_path .. "default/layouts/floatingw.png" +theme.layout_magnifier = themes_path .. "default/layouts/magnifierw.png" +theme.layout_max = themes_path .. "default/layouts/maxw.png" +theme.layout_fullscreen = themes_path .. "default/layouts/fullscreenw.png" +theme.layout_tilebottom = themes_path .. "default/layouts/tilebottomw.png" +theme.layout_tileleft = themes_path .. "default/layouts/tileleftw.png" +theme.layout_tile = themes_path .. "default/layouts/tilew.png" +theme.layout_tiletop = themes_path .. "default/layouts/tiletopw.png" +theme.layout_spiral = themes_path .. "default/layouts/spiralw.png" +theme.layout_dwindle = themes_path .. "default/layouts/dwindlew.png" +theme.layout_cornernw = themes_path .. "default/layouts/cornernww.png" +theme.layout_cornerne = themes_path .. "default/layouts/cornernew.png" +theme.layout_cornersw = themes_path .. "default/layouts/cornersww.png" +theme.layout_cornerse = themes_path .. "default/layouts/cornersew.png" return theme