From edf7824aee4ff098bf33ac653d30868e5f332e15 Mon Sep 17 00:00:00 2001 From: Pavel Makhov Date: Sat, 17 Jun 2017 12:45:58 -0400 Subject: [PATCH] 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 0000000000000000000000000000000000000000..b9dffd6440c593283f895948fdae9b33fc2f5a9b GIT binary patch literal 435 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbMf`~aU2S0MfW|Ns5__s^U;^URqu zSFc{3G-(o$3uN!yxpUjLZ6{8g*u8rPwWr5;AHbfTAhH!!ApaG@QW%q$jG${%43ua(qVP$1w=iuVzD~i!nmk<`LnJOICmdjJQAyCrH8{CyhPrXcs~lLn^xU!~ss|RN zXE3qw=xmZHih8st>Jkr|S^}e{u4J69tDdeXTk?hmv)$9ACQoA%aAYk}WIE%(SR0~y zipR=Lz**Gd>DD7h8`=)7eaaYpy8mjTgP_Us!wm~m#N?S7yjKgyw9UQY2XqaCr>mdK II;Vst0ICYcwg3PC literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..f47807d9e9cb711941efe32ab71176c929a1a609 GIT binary patch literal 450 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbMf(g2?jS0Merf#JV{!x>}a|3DO~ zecMw7$bIH({K8G|t*7}r7vtxihA*AXzj&Fxb~k?GWcl99>bZx-OBd6ZPR6f2OrE(J zzi~5u?raWJ3{>#i&HRmr=^J+wpx|2%vsZ4WuU$=n%0PPE%wD=0zjZZ#>u&nW&E%b% z$tzcr*KVfo+%4XESiEsJd+P?2LP!7q|6h@#b{6PR(~=;+U>h}+z0gOrB?k;BT z`#UZIIbEJEjv*44YyHFdngSSBFIZqPkDJ{u#zuEX_5amB8IK$h_