awesome-wm-widgets/README.md

90 lines
4.1 KiB
Markdown
Raw Normal View History

2019-02-24 15:32:26 +01:00
<p align="center">
2019-02-24 22:44:42 +01:00
<img src="https://github.com/streetturtle/awesome-wm-widgets/raw/master/awesome-o.png" alt="logo" style="max-width:100%;">
2019-02-24 15:32:26 +01:00
</p>
2019-02-24 14:57:37 +01:00
2019-02-24 21:29:14 +01:00
<p align="center">
<img src="https://img.shields.io/github/stars/streetturtle/awesome-wm-widgets.svg">
<img src="https://img.shields.io/github/forks/streetturtle/awesome-wm-widgets.svg">
2020-03-04 15:55:27 +01:00
<a href="https://twitter.com/intent/tweet?text=Check%20out%20these%20awesome%20widgets%20for%20Awesome Window Manager%20&url=https://github.com/streetturtle/awesome-wm-widgets">
<img src="https://img.shields.io/twitter/url/http/shields.io.svg?style=social">
</a>
2019-02-24 21:29:14 +01:00
</p>
2019-02-24 14:57:37 +01:00
2017-10-05 15:44:18 +02:00
Set of super simple widgets compatible with Awesome Window Manager v.4+.
2016-04-29 11:59:35 +02:00
2019-03-04 22:16:04 +01:00
## Screenshots
Spotify, CPU, RAM, brightness-arc, volume-arc and battery-arc widgets:
<p align="center">
<img src="https://github.com/streetturtle/awesome-wm-widgets/raw/master/Screenshot%20from%202019-03-01%2014-28-18.png">
</p>
2019-03-04 22:20:30 +01:00
Brightness, volume and battery widgets:
<p align="center">
<img src="https://github.com/streetturtle/awesome-wm-widgets/raw/master/widgets-icons.png">
</p>
2017-10-09 23:34:51 +02:00
![screenshot](./screenshot.png)
2018-06-29 14:49:17 +02:00
Some more screenshots in this reddit [post](https://www.reddit.com/r/unixporn/comments/8qijmx/awesomewm_dark_theme/)
2017-02-02 02:59:04 +01:00
From left to right:
2017-01-31 21:12:32 +01:00
2017-02-02 02:59:04 +01:00
- [spotify-widget](https://github.com/streetturtle/AwesomeWM/tree/master/spotify-widget) / [rhythmbox-widget](https://github.com/streetturtle/AwesomeWM/tree/master/rhythmbox-widget)
2017-10-09 23:34:51 +02:00
- [cpu-widget](https://github.com/streetturtle/AwesomeWM/tree/master/cpu-widget)
2017-02-08 02:31:34 +01:00
- [weather-widget](https://github.com/streetturtle/AwesomeWM/tree/master/weather-widget)
2017-01-31 21:12:32 +01:00
- [email-widget](https://github.com/streetturtle/AwesomeWM/tree/master/email-widget)
2017-02-02 02:59:04 +01:00
- [brightness-widget](https://github.com/streetturtle/AwesomeWM/tree/master/brightness-widget)
2017-01-31 21:12:32 +01:00
- [volume-widget](https://github.com/streetturtle/AwesomeWM/tree/master/volume-widget)
2017-10-09 23:34:51 +02:00
- [volumebar-widget](https://github.com/streetturtle/AwesomeWM/tree/master/volumebar-widget)
- [volumearc-widget](https://github.com/streetturtle/AwesomeWM/tree/master/volumearc-widget)
- [batteryarc-widget](https://github.com/streetturtle/AwesomeWM/tree/master/batteryarc-widget)
2017-10-05 15:44:18 +02:00
- [battery-widget](https://github.com/streetturtle/AwesomeWM/tree/master/battery-widget)
2018-01-22 14:29:14 +01:00
- [ram-widget](https://github.com/streetturtle/AwesomeWM/tree/master/ram-widget)
- [translate-widget](https://github.com/streetturtle/AwesomeWM/tree/master/translate-widget) (not on the screenshot)
2019-02-05 21:33:35 +01:00
- [spotify-shell](https://github.com/streetturtle/AwesomeWM/tree/master/spotify-shell) (not on the screenshot)
- [run-shell](https://github.com/streetturtle/AwesomeWM/tree/master/run-shell) (not on the screenshot)
2017-02-02 02:52:08 +01:00
# Installation
Clone the 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:
2017-02-02 02:59:04 +01:00
2017-10-13 02:36:40 +02:00
```lua
local battery_widget = require("awesome-wm-widgets.battery-widget.battery")
2017-06-21 22:50:58 +02:00
```
2017-10-13 02:36:40 +02:00
and then add widget to the wibox (you can search for **mytextclock** and add widget before):
2017-06-21 22:50:58 +02:00
```lua
-- Add widgets to the wibox
s.mywibox:setup {
layout = wibox.layout.align.horizontal,
{ -- Left widgets
...
},
s.mytasklist, -- Middle widget
{ -- Right widgets
...
battery_widget(),
2017-10-13 02:36:40 +02:00
mytextclock
2017-06-21 22:50:58 +02:00
...
}
```
You will also need to install [Arc icon theme](https://github.com/horst3180/arc-icon-theme) if widget uses icons. 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.
2017-10-13 02:36:40 +02:00
2017-06-21 22:50:58 +02:00
# Icons
2017-06-22 02:53:48 +02:00
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).
2017-09-11 21:05:04 +02:00
Or create your own icons with the same name.
2017-02-05 19:18:06 +01:00
2017-02-02 03:25:25 +01:00
In case of any questions/suggestions don't hesitate to contact me, I would be happy to help :)
2017-02-02 02:59:04 +01:00
2017-05-29 19:14:37 +02:00
PRs/issues and st★rs are welcome!
2019-10-17 22:11:58 +02:00
# Stargazers
[![Stargazers over time](https://starchart.cc/streetturtle/awesome-wm-widgets.svg)](https://starchart.cc/streetturtle/awesome-wm-widgets)