mirror of
https://github.com/streetturtle/awesome-wm-widgets.git
synced 2024-11-15 19:48:04 +01:00
commit
0671068e4a
16 changed files with 24 additions and 24 deletions
|
@ -46,7 +46,7 @@ Clone the repo under **~/.config/awesome/**, then follow an Installation section
|
|||
In case of any doubts/questions/problems:
|
||||
- create an [issue](https://github.com/streetturtle/awesome-wm-widgets/issues/new/choose)
|
||||
- raise a question on [Discussions](https://github.com/streetturtle/awesome-wm-widgets/discussions)!
|
||||
- ping me on AwesomeWM's discord, here's an [invite](https://discord.gg/XYvn8R5)
|
||||
- ping me on AwesomeWM's discord, here's an [invite](https://discord.gg/XYvn8R5)
|
||||
|
||||
# Support
|
||||
|
||||
|
|
|
@ -192,7 +192,7 @@ local function worker(user_args)
|
|||
{
|
||||
refresh_button,
|
||||
halign = 'right',
|
||||
valigh = 'center',
|
||||
valign = 'center',
|
||||
fill_horizontal = true,
|
||||
layout = wibox.container.place,
|
||||
},
|
||||
|
@ -307,7 +307,7 @@ local function worker(user_args)
|
|||
{
|
||||
header_refresh_icon,
|
||||
halign = 'right',
|
||||
valigh = 'center',
|
||||
valign = 'center',
|
||||
layout = wibox.container.place,
|
||||
},
|
||||
layout = wibox.layout.align.horizontal
|
||||
|
|
|
@ -60,7 +60,7 @@ local function worker(user_args)
|
|||
widget = wibox.widget.imagebox,
|
||||
resize = false
|
||||
},
|
||||
valigh = 'center',
|
||||
valign = 'center',
|
||||
layout = wibox.container.place,
|
||||
}
|
||||
local level_widget = wibox.widget {
|
||||
|
|
|
@ -46,7 +46,7 @@ And test if it works by calling the API:
|
|||
curl -s -n 'https://api.bitbucket.org/2.0/repositories/'
|
||||
```
|
||||
|
||||
Also to properly setup required parameters you can use `test_bitbucket_api.sh` script - it uses the same curl call as widget.
|
||||
Also, to properly setup required parameters you can use `test_bitbucket_api.sh` script - it uses the same curl call as widget.
|
||||
|
||||
Then clone/download repo and use widget in **rc.lua**:
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ To choose the right `program` argument, first you need to check which of them wo
|
|||
|
||||
If there is no output it means that it doesn't work, you can either try to fix it, or try to use `light`.
|
||||
|
||||
- using `light` command
|
||||
- using `light` command:
|
||||
|
||||
Install (on Ubuntu it's available in the apt repository) from the repo: [github.com/haikarainen/light](https://github.com/haikarainen/light) and check if it works by running
|
||||
|
||||
|
|
|
@ -298,7 +298,7 @@ local function worker(user_args)
|
|||
margins = 8,
|
||||
layout = wibox.container.margin
|
||||
},
|
||||
valigh = 'center',
|
||||
valign = 'center',
|
||||
layout = wibox.container.place
|
||||
},
|
||||
{
|
||||
|
@ -318,7 +318,7 @@ local function worker(user_args)
|
|||
forced_width = 180,
|
||||
layout = wibox.layout.fixed.vertical
|
||||
},
|
||||
valigh = 'center',
|
||||
valign = 'center',
|
||||
layout = wibox.container.place
|
||||
},
|
||||
{
|
||||
|
|
|
@ -28,7 +28,7 @@ s.mytasklist, -- Middle widget
|
|||
|
||||
## How it works
|
||||
|
||||
This widget uses the output of two python scripts, first is called every 20 seconds - it returns number of unread emails and second is called when mouse hovers over an icon and displays content of those emails. For both of them you'll need to provide your credentials and imap server. For testing they can simply be called from console:
|
||||
This widget uses the output of two python scripts, first is called every 20 seconds - it returns number of unread emails and second is called when mouse hovers over an icon and displays content of those emails. For both of them you'll need to provide your credentials and imap server. For testing, they can simply be called from console:
|
||||
|
||||
``` bash
|
||||
python ~/.config/awesome/email/count_unread_emails.py
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Filesystem Widget
|
||||
|
||||
This widget shows file system disk space usage which is based on the `df` output. When clicked another widget appears with more detailed information. By default it monitors the "/" mount. It can be configured with a list of mounts to monitor though only the first will show in the wibar. To have multiple mounts displayed on the wibar simply define multiple `fs_widgets` with different mounts as arguments.
|
||||
This widget shows file system disk space usage which is based on the `df` output. When clicked another widget appears with more detailed information. By default, it monitors the "/" mount. It can be configured with a list of mounts to monitor though only the first will show in the wibar. To have multiple mounts displayed on the wibar simply define multiple `fs_widgets` with different mounts as arguments.
|
||||
|
||||
![](./screenshot.png)
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ It is possible to customize widget by providing a table with all or some of the
|
|||
|
||||
## Installation
|
||||
|
||||
Create a .netrc file in you home directory with following content:
|
||||
Create a .netrc file in your home directory with following content:
|
||||
|
||||
```bash
|
||||
machine turtlejira.com
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Logout Popup Widget
|
||||
|
||||
Widget which allows to perform lock, reboot, log out, power off and sleep actions. It can be called either by a shortcut, or by clicking on a widget in wibar.
|
||||
Widget which allows performing lock, reboot, log out, power off and sleep actions. It can be called either by a shortcut, or by clicking on a widget in wibar.
|
||||
|
||||
<p align="center">
|
||||
<img src="https://github.com/streetturtle/awesome-wm-widgets/raw/master/logout-popup-widget/screenshot.gif" alt="screenshot">
|
||||
|
|
|
@ -105,7 +105,7 @@ local function launch(args)
|
|||
spacing = 8,
|
||||
layout = wibox.layout.fixed.horizontal
|
||||
},
|
||||
valigh = 'center',
|
||||
valign = 'center',
|
||||
layout = wibox.container.place
|
||||
},
|
||||
{
|
||||
|
@ -118,7 +118,7 @@ local function launch(args)
|
|||
},
|
||||
id = 'a',
|
||||
shape_border_width = 1,
|
||||
valigh = 'center',
|
||||
valign = 'center',
|
||||
layout = wibox.container.place
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
- any other string will start a search and play the first result for a given search query;
|
||||
- feh - shows the current artwork with `feh`;
|
||||
|
||||
1. Stores history and allows navigate through it;
|
||||
1. Stores history and allows navigating through it;
|
||||
|
||||
1. Highly customizable
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# ToDo Widget
|
||||
|
||||
This widget displays a list of to do items and allows to mark item as done/undone, delete an item and create new ones:
|
||||
This widget displays a list of todo items and allows marking item as done/undone, delete an item and create new ones:
|
||||
|
||||
![screenshot](./todo.gif)
|
||||
|
||||
|
@ -25,4 +25,4 @@ Also note that widget uses [Arc Icons](https://github.com/horst3180/arc-icon-the
|
|||
|
||||
# Theming
|
||||
|
||||
Widget uses your theme's colors. In case you want to have different colors, without changing your theme, please create an issue for it. I'll extract them as a widget parameters.
|
||||
Widget uses your theme's colors. In case you want to have different colors, without changing your theme, please create an issue for it. I'll extract them as widget parameters.
|
||||
|
|
|
@ -77,7 +77,7 @@ local function translate(to_translate, lang, api_key, url)
|
|||
widget = wibox.widget.imagebox,
|
||||
resize = false
|
||||
},
|
||||
valigh = 'center',
|
||||
valign = 'center',
|
||||
layout = wibox.container.place,
|
||||
},
|
||||
{
|
||||
|
|
|
@ -13,7 +13,7 @@ Left click toggles mute and middle click opens a mixer ([pavucontrol](https://fr
|
|||
|
||||
### Features
|
||||
|
||||
- switch between sinks/sources by right clicking on the widget;
|
||||
- switch between sinks/sources by right click on the widget;
|
||||
- more responsive than previous versions of volume widget, which were refreshed once a second;
|
||||
- 5 predefined customizable looks;
|
||||
|
||||
|
@ -60,7 +60,7 @@ It is possible to customize the widget by providing a table with all or some of
|
|||
| `step` | `5` | How much the volume is raised or lowered at once (in %) |
|
||||
| `widget_type`| `icon_and_text`| Widget type, one of `horizontal_bar`, `vertical_bar`, `icon`, `icon_and_text`, `arc` |
|
||||
|
||||
Depending on the chosen widget type add parameters from the corresponding section below:
|
||||
Depends on the chosen widget type add parameters from the corresponding section below:
|
||||
|
||||
#### `icon` parameters
|
||||
|
||||
|
|
Loading…
Reference in a new issue