Commits

Nikolaj Sjujskij committed 2f9bffb

discfortune: improve fortune text escaping

Comments (0)

Files changed (1)

 length=$(echo "$fortext" | wc -w)
 let "time=length*1000"
 # ${var^}-syntax is bash4-specific
-sw-notify-send "${WHAT^}" "$fortext" -t $time
+sw-notify-send -t $time -- "${WHAT^}" "$fortext"