diff --git a/configuration.nix b/configuration.nix index 8300a74..4553ce5 100644 --- a/configuration.nix +++ b/configuration.nix @@ -117,7 +117,7 @@ transmission = { enable = true; settings = { - download-dir = "/mnt/Dati/Downloads/"; + download-dir = "/mnt/Dati/Download/"; }; }; diff --git a/lemonbar.sh b/lemonbar.sh index 4b03cc2..6c9149c 100755 --- a/lemonbar.sh +++ b/lemonbar.sh @@ -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 }