update main page

This commit is contained in:
streetturtle 2019-12-15 15:38:11 -05:00
parent 157eeea226
commit 7bf9c53bbf
1 changed files with 4 additions and 3 deletions

View File

@ -4,13 +4,14 @@ layout: page
# Awesome WM Widgets
This is a project page of the [GitHub repo](https://github.com/streetturtle/awesome-wm-widgets) with set of widgets for Awesome Window Manager
This is a project page of the github repo with set of widgets for Awesome Window Manager
## Prerequisite
To have a consistent color palette through all the widgets add following section to your **theme.lua**. This will also allow you to easily change colors of the widgets in one place.
To have a consistent color palette through all the widgets add following section to your **theme.lua**. This will also allow you to easily change colors of the widgets in one place. Note that text widgets (for example text in spotify-widget) are using color defined in `theme.fg_normal`.
```lua
-- https://github.com/streetturtle/awesome-wm-widget
theme.widget_main_color = "#74aeab"
theme.widget_red = "#e53935"
theme.widget_yelow = "#c0ca33"
@ -19,4 +20,4 @@ theme.widget_black = "#000000"
theme.widget_transparent = "#00000000"
```
However text widgets (for example currently playing song in spotify widget) are using `theme.fg_normal` color. So you need to set it as well.
I would also recommend to install [Play](https://fonts.google.com/specimen/Play) font as it looks good and explicitly used in some widgets. However you can easily change font in widget's source.