partial conversion of `fswms` script to git