From 88c772ed8634f8af0017f85af7b7d07e02e0bf1a Mon Sep 17 00:00:00 2001 From: Ryan Thomas Date: Mon, 14 Feb 2022 13:40:47 -0500 Subject: [PATCH] update docs --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 92a8db0..ed6b540 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,8 @@ Configure by overriding systray_hints table values after the require statement. systray_hints.default_button = 1 systray_hints.mouse_buttons = { "h", "j", "l" } +By default, systray_hints looks for `s.systray` in `s.mywibox`. If your systray widget or wibox has a different name, set `systray_hints.systray` or `systray_hints.wibox` accordingly. + If the system tray is normally hidden in your environment and toggled as needed with a keybinding, you can replace that keybinding with something like this: awful.key({ modkey }, "s", function () @@ -56,6 +58,17 @@ If your system tray is always displayed, simply create a keybinding like the fol end, {description="toggle systray hints", group="awesome"}), +# Theme + +Set custom colors in `theme.lua` as desired: + + theme.systray_hints_font = "Iosevka Bold 16" + theme.systray_hints_fg = "#fdf6e3" + theme.systray_hints_bg = "#55465a" + theme.systray_hints_bg_highlight = "#aa53aa" + theme.systray_hints_bg_highlight_alt = "#426f5a" + theme.systray_hints_border = "#fdf6e333" + # Issues The ability to obtain the geometry of the system tray is not referenced in the awesome API for a reason; in theory it may occasionally return incorrect data, requiring an additional execution of the keybinding.