diff options
Diffstat (limited to 'volume-widget')
-rw-r--r-- | volume-widget/README.md | 7 | ||||
-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, 4 insertions, 3 deletions
diff --git a/volume-widget/README.md b/volume-widget/README.md index 747879c..19946a2 100644 --- a/volume-widget/README.md +++ b/volume-widget/README.md @@ -21,8 +21,9 @@ 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`: + +- _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 +40,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 |