diff options
author | Yigit Sever | 2019-10-28 00:28:21 +0300 |
---|---|---|
committer | Yigit Sever | 2019-10-28 00:28:21 +0300 |
commit | 9b1700ac3f31b7601ccaf1638786078f5b1b320d (patch) | |
tree | 8e603f5ed717289d779ff292ada3c0a472a4fd93 | |
parent | 2111538c0d3512cf128f9c1935e7ad040bb88986 (diff) | |
download | dotfiles-9b1700ac3f31b7601ccaf1638786078f5b1b320d.tar.gz dotfiles-9b1700ac3f31b7601ccaf1638786078f5b1b320d.tar.bz2 dotfiles-9b1700ac3f31b7601ccaf1638786078f5b1b320d.zip |
Better muted colour
-rwxr-xr-x | .config/polybar/pulseaudio-control.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/polybar/pulseaudio-control.sh b/.config/polybar/pulseaudio-control.sh index 7d44c43..e88ce39 100755 --- a/.config/polybar/pulseaudio-control.sh +++ b/.config/polybar/pulseaudio-control.sh | |||
@@ -12,7 +12,7 @@ MAX_VOL=100 # Maximum volume | |||
12 | AUTOSYNC="no" # All programs have the same volume if enabled | 12 | AUTOSYNC="no" # All programs have the same volume if enabled |
13 | VOLUME_ICONS=( " " " " " " ) # Volume icons array, from lower volume to higher | 13 | VOLUME_ICONS=( " " " " " " ) # Volume icons array, from lower volume to higher |
14 | MUTED_ICON=" " # Muted volume icon | 14 | MUTED_ICON=" " # Muted volume icon |
15 | MUTED_COLOR="%{F#6b6b6b}" # Color when the audio is muted | 15 | MUTED_COLOR="%{F#A9AA83}" # Color when the audio is muted |
16 | DEFAULT_SINK_ICON="♫ " # The default sink icon if a custom one isn't found | 16 | DEFAULT_SINK_ICON="♫ " # The default sink icon if a custom one isn't found |
17 | CUSTOM_SINK_ICONS=("" "" "") # Custom sink icons in index of sink order | 17 | CUSTOM_SINK_ICONS=("" "" "") # Custom sink icons in index of sink order |
18 | NOTIFICATIONS="yes" # Notifications when switching sinks if enabled | 18 | NOTIFICATIONS="yes" # Notifications when switching sinks if enabled |
@@ -216,7 +216,7 @@ function output() { | |||
216 | 216 | ||
217 | # Showing the formatted message | 217 | # Showing the formatted message |
218 | if [ "${isMuted}" = "yes" ]; then | 218 | if [ "${isMuted}" = "yes" ]; then |
219 | echo "${MUTED_COLOR}${MUTED_ICON}${curVol}% ${sinkIcon}${activeSink}${endColor}" | 219 | echo "${MUTED_COLOR}${MUTED_ICON}${curVol}% ${sinkIcon} ${activeSink}${endColor}" |
220 | else | 220 | else |
221 | echo "${volIcon}${curVol}% ${sinkIcon} ${activeSink}" | 221 | echo "${volIcon}${curVol}% ${sinkIcon} ${activeSink}" |
222 | fi | 222 | fi |