summaryrefslogtreecommitdiff
path: root/volume-widget/README.md
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@users.noreply.github.com>2019-09-19 12:57:27 -0400
committerGitHub <noreply@github.com>2019-09-19 12:57:27 -0400
commit57e0bbdc605eaf90c6a94ed83429d4ea9b338659 (patch)
tree9e1233c63490083a6a175e0efc2cde45f452d58b /volume-widget/README.md
parent3b15540c2a4c95e3b28039a8a2929c628d2e1e98 (diff)
parentf59cd869411b03556e65e4c78368ec1df656b5d2 (diff)
Merge pull request #97 from utix/volume_notification
[Volume] Add an option to display a notification
Diffstat (limited to 'volume-widget/README.md')
-rw-r--r--volume-widget/README.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/volume-widget/README.md b/volume-widget/README.md
index 24c2d76..6086074 100644
--- a/volume-widget/README.md
+++ b/volume-widget/README.md
@@ -12,6 +12,8 @@ It is possible to customize widget by providing a table with all or some of the
| Name | Default | Description |
|---|---|---|
| `volume_audio_controller` | `pulse` | audio device |
+| `notification` | `false` | Display a notification on mouseover |
+| `notification_position` | `top_right` | The notification position |
## Installation
@@ -27,16 +29,16 @@ s.mytasklist, -- Middle widget
layout = wibox.layout.fixed.horizontal,
...
volume_widget(),
- ...
+ ...
```
- _Optional step._ In Arc icon theme the muted audio level icon (![Volume-widget](./audio-volume-muted-symbolic.png)) looks like 0 level icon, which could be a bit misleading.
So I decided to use original muted icon for low audio level, and the same icon, but colored in red for muted audio level. Fortunately icons are in svg format, so you can easily recolor them with `sed`, so it would look like this (![Volume Widget](./audio-volume-muted-symbolic_red.png)):
-
+
```bash
- cd /usr/share/icons/Arc/status/symbolic &&
- sudo cp audio-volume-muted-symbolic.svg audio-volume-muted-symbolic_red.svg &&
- sudo sed -i 's/bebebe/ed4737/g' ./audio-volume-muted-symbolic_red.svg
+ cd /usr/share/icons/Arc/status/symbolic &&
+ sudo cp audio-volume-muted-symbolic.svg audio-volume-muted-symbolic_red.svg &&
+ sudo sed -i 's/bebebe/ed4737/g' ./audio-volume-muted-symbolic_red.svg
```
### Pulse or ALSA only