From edf7824aee4ff098bf33ac653d30868e5f332e15 Mon Sep 17 00:00:00 2001 From: Pavel Makhov Date: Sat, 17 Jun 2017 12:45:58 -0400 Subject: update readme for volume icon --- volume-widget/README.md | 6 +++--- volume-widget/audio-volume-muted-symbolic.png | Bin 0 -> 435 bytes volume-widget/audio-volume-muted-symbolic_red.png | Bin 0 -> 450 bytes 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 volume-widget/audio-volume-muted-symbolic.png create mode 100644 volume-widget/audio-volume-muted-symbolic_red.png 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 ()) 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 new file mode 100644 index 0000000..b9dffd6 Binary files /dev/null and b/volume-widget/audio-volume-muted-symbolic.png differ diff --git a/volume-widget/audio-volume-muted-symbolic_red.png b/volume-widget/audio-volume-muted-symbolic_red.png new file mode 100644 index 0000000..f47807d Binary files /dev/null and b/volume-widget/audio-volume-muted-symbolic_red.png differ -- cgit v1.2.3