diff --git a/void/xcheckupdates b/void/xcheckupdates index 43ec67a..e48a5c7 100755 --- a/void/xcheckupdates +++ b/void/xcheckupdates @@ -9,14 +9,14 @@ if [[ -e $IDCACHE ]]; then fi sudo xbps-install -S &>/dev/null updates=$(xbps-install -un 2>&1) -num_updates=$(echo -n $updates | wc -l) +num_updates=$(echo $updates | wc -l) if [[ $list ]]; then echo -n $updates fi if [[ $num_updates -gt 0 ]]; then - notify-send -p ${prev_id+-r} $prev_id --icon=$ICON -t 0 "$num_updates Updates available" + notify-send -p ${prev_id+-r} $prev_id --icon=$ICON -t 0 "$num_updates Updates available $(echo; awk '{ print " -",$1 }' <<<$updates | head -n 10; if [[ $num_updates -gt 10 ]]; then echo " ..."; fi)" else notify-send -p ${prev_id+-r} $prev_id -t 1500 "Updates checked, nothing new" fi > $IDCACHE diff --git a/xdg-wrappers/sbt b/xdg-wrappers/sbt index e337ca2..15f1b97 100755 --- a/xdg-wrappers/sbt +++ b/xdg-wrappers/sbt @@ -11,6 +11,7 @@ opts=( "-Dsbt.repository.config=$XDG_CONFIG_HOME/sbt/repositories" "-Dsbt.global.settings=$XDG_CONFIG_HOME/sbt/global" "-Dsbt.global.plugins=$XDG_CONFIG_HOME/sbt/plugins" + "-Dsbt.override.build.repos=true" ) export SBT_OPTS=${(j: :)opts} $(next-in-path sbt $0) $@