diff options
author | Pavel Makhov <pavel.makhov@savoirfairelinux.com> | 2017-06-17 12:45:58 -0400 |
---|---|---|
committer | Pavel Makhov <pavel.makhov@savoirfairelinux.com> | 2017-06-17 12:45:58 -0400 |
commit | edf7824aee4ff098bf33ac653d30868e5f332e15 (patch) | |
tree | fdb5de5274ea519d4c2f09490711db36cb3dc7dc | |
parent | dd362b97b314306085b58224200f0f9117a5ec66 (diff) |
update readme for volume icon
-rw-r--r-- | volume-widget/README.md | 6 | ||||
-rw-r--r-- | volume-widget/audio-volume-muted-symbolic.png | bin | 0 -> 435 bytes | |||
-rw-r--r-- | volume-widget/audio-volume-muted-symbolic_red.png | bin | 0 -> 450 bytes |
3 files changed, 3 insertions, 3 deletions
diff --git a/volume-widget/README.md b/volume-widget/README.md index 7635606..7e68300 100644 --- a/volume-widget/README.md +++ b/volume-widget/README.md @@ -21,8 +21,8 @@ s.mytasklist, -- Middle widget volume_widget, ... ``` -- _Optional step._ In Arc icon theme the muted audio level icon (<img src="./audio-volume-muted-symbolic.svg">)) 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.svg)): +- _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 && @@ -39,5 +39,5 @@ If you want to control volume level by keyboard shortcuts add following lines in ```lua awful.key({ modkey}, "[", function () awful.spawn("amixer -D pulse sset Master 5%-") end, {description = "increase volume", group = "custom"}), awful.key({ modkey}, "]", function () awful.spawn("amixer -D pulse sset Master 5%+") end, {description = "decrease volume", group = "custom"}), -awful.key({ modkey}, "\\", function () awful.spawn("amixer -D pulse set Master +1 toggle") end, {description = "mute volume", group = "custom"}), +awful.key({ modkey}, "\", function () awful.spawn("amixer -D pulse set Master +1 toggle") end, {description = "mute volume", group = "custom"}), ``` diff --git a/volume-widget/audio-volume-muted-symbolic.png b/volume-widget/audio-volume-muted-symbolic.png Binary files differnew file mode 100644 index 0000000..b9dffd6 --- /dev/null +++ b/volume-widget/audio-volume-muted-symbolic.png diff --git a/volume-widget/audio-volume-muted-symbolic_red.png b/volume-widget/audio-volume-muted-symbolic_red.png Binary files differnew file mode 100644 index 0000000..f47807d --- /dev/null +++ b/volume-widget/audio-volume-muted-symbolic_red.png |