dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit bf7362725333572c21eec169a9dedc1b3f36d615
parent b6e110624f355ee7148880d0922912314d87f280
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Tue, 15 Jan 2019 14:34:31 +0100

Use constant icon for volume

Diffstat:
Mlinks/.config/i3/i3scripts/i3volume | 16++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/links/.config/i3/i3scripts/i3volume b/links/.config/i3/i3scripts/i3volume @@ -15,12 +15,12 @@ esac vol=$(pulsemixer --get-volume | awk '{print $1}') -if [ "$vol" -gt "70" ]; then - icon="🔊" -elif [ "$vol" -lt "30" ]; then - icon="🔈" -else - icon="🔉" -fi +# if [ "$vol" -gt "70" ]; then +# icon="🔊" +# elif [ "$vol" -lt "30" ]; then +# icon="🔈" +# else +# icon="🔉" +# fi -printf "%s %s%%\\n" "$icon" "$vol" +printf "%s %s%%\\n" "♪" "$vol"