summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorYigit Sever2019-10-28 00:28:21 +0300
committerYigit Sever2019-10-28 00:28:21 +0300
commit9b1700ac3f31b7601ccaf1638786078f5b1b320d (patch)
tree8e603f5ed717289d779ff292ada3c0a472a4fd93 /.config
parent2111538c0d3512cf128f9c1935e7ad040bb88986 (diff)
downloaddotfiles-9b1700ac3f31b7601ccaf1638786078f5b1b320d.tar.gz
dotfiles-9b1700ac3f31b7601ccaf1638786078f5b1b320d.tar.bz2
dotfiles-9b1700ac3f31b7601ccaf1638786078f5b1b320d.zip
Better muted colour
Diffstat (limited to '.config')
-rwxr-xr-x.config/polybar/pulseaudio-control.sh4
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
12AUTOSYNC="no" # All programs have the same volume if enabled 12AUTOSYNC="no" # All programs have the same volume if enabled
13VOLUME_ICONS=( " " " " " " ) # Volume icons array, from lower volume to higher 13VOLUME_ICONS=( " " " " " " ) # Volume icons array, from lower volume to higher
14MUTED_ICON=" " # Muted volume icon 14MUTED_ICON=" " # Muted volume icon
15MUTED_COLOR="%{F#6b6b6b}" # Color when the audio is muted 15MUTED_COLOR="%{F#A9AA83}" # Color when the audio is muted
16DEFAULT_SINK_ICON="♫ " # The default sink icon if a custom one isn't found 16DEFAULT_SINK_ICON="♫ " # The default sink icon if a custom one isn't found
17CUSTOM_SINK_ICONS=("" "" "") # Custom sink icons in index of sink order 17CUSTOM_SINK_ICONS=("" "" "") # Custom sink icons in index of sink order
18NOTIFICATIONS="yes" # Notifications when switching sinks if enabled 18NOTIFICATIONS="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