move volume to the right, fix transmission path
This commit is contained in:
parent
a7401c2423
commit
82be1731df
@ -117,7 +117,7 @@
|
||||
transmission = {
|
||||
enable = true;
|
||||
settings = {
|
||||
download-dir = "/mnt/Dati/Downloads/";
|
||||
download-dir = "/mnt/Dati/Download/";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -26,13 +26,12 @@ getVolume() {
|
||||
COLOR=$GREY
|
||||
fi
|
||||
VOLUME=$(spark $VOLUME 0 100 | tail -n 1 | cut -b1-3)
|
||||
echo -n "$(separator) %{F$COLOR}$VOLUME $(separator)"
|
||||
echo -n "%{F$COLOR}$VOLUME"
|
||||
}
|
||||
|
||||
getMPD(){
|
||||
echo -n "%{F$BLUE}♫ "
|
||||
if [ "$(mpc | wc -l)" -gt 1 ]; then
|
||||
echo -n "%{F$BROWN}$(mpc | cut -d$'\n' -f1) %{F$BLUE}♫ %{F$GREY}$(mpc | cut -d$'\n' -f2 | cut -d ' ' -f1,2,4)"
|
||||
echo -n "%{F$BLUE}♫ %{F$BROWN}$(mpc | cut -d$'\n' -f1) %{F$BLUE}♫ %{F$GREY}$(mpc | cut -d$'\n' -f2 | cut -d ' ' -f1,2,4)"
|
||||
fi
|
||||
}
|
||||
|
||||
@ -69,7 +68,7 @@ getMEM(){
|
||||
buildBar () {
|
||||
while true
|
||||
do
|
||||
echo " $(getVolume) $(getMPD) %{c}$(buildClock) %{r} $(getMEM) $(separator) $(getDISK) $(separator) $(getNET) "
|
||||
echo " $(getMPD) %{c}$(buildClock) %{r} $(getMEM) $(separator) $(getDISK) $(separator) $(getNET) $(separator) $(getVolume) "
|
||||
sleep 1
|
||||
done
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user