update readme
This commit is contained in:
parent
047c670cc6
commit
91238d697a
20
README.md
20
README.md
|
@ -39,20 +39,15 @@ sprtr,
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
[Install](https://github.com/horst3180/arc-icon-theme#installation) Arc icon theme and follow installation instructions of each widget.
|
Clone repo under **~/.config/awesome/**, then in **rc.lua** add the import of the widget you'd like to use in "require" section on the top of the file:
|
||||||
|
|
||||||
Or you can clone this repo under **~/.config/awesome/** and then add widgets you'd like to use in wibox:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
cd ~/.config/awesome/
|
|
||||||
git clone https://github.com/streetturtle/awesome-wm-widgets.git
|
|
||||||
```
|
|
||||||
|
|
||||||
and in **rc.lua**
|
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
require("awesome-wm-widgets.battery-widget.battery")
|
require("awesome-wm-widgets.battery-widget.battery")
|
||||||
...
|
```
|
||||||
|
|
||||||
|
and then add widget to the wibox (you can search for **mytextclock** and add widget before):
|
||||||
|
|
||||||
|
```lua
|
||||||
-- Add widgets to the wibox
|
-- Add widgets to the wibox
|
||||||
s.mywibox:setup {
|
s.mywibox:setup {
|
||||||
layout = wibox.layout.align.horizontal,
|
layout = wibox.layout.align.horizontal,
|
||||||
|
@ -63,10 +58,13 @@ require("awesome-wm-widgets.battery-widget.battery")
|
||||||
{ -- Right widgets
|
{ -- Right widgets
|
||||||
...
|
...
|
||||||
battery_widget,
|
battery_widget,
|
||||||
|
mytextclock
|
||||||
...
|
...
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You will also need to install [Arc icon theme](https://github.com/horst3180/arc-icon-theme). By default it should be installed under **/usr/share/icons/Arc**. If you prefer different installation folder then you'll have to change path to the icons in the source code of the widget you want to use.
|
||||||
|
|
||||||
# Icons
|
# Icons
|
||||||
|
|
||||||
If you don't want to install Arc icon theme you can just download the icons which are used from the [Arc repository](https://github.com/horst3180/arc-theme).
|
If you don't want to install Arc icon theme you can just download the icons which are used from the [Arc repository](https://github.com/horst3180/arc-theme).
|
||||||
|
|
Loading…
Reference in New Issue