     (+modeline|setup-bars)))
 (add-variable-watcher '+modeline-width  #'+modeline|setup-bars-after-change)
 (add-variable-watcher '+modeline-height #'+modeline|setup-bars-after-change)
+(add-variable-watcher '+modeline-bar-at-end #'+modeline|setup-bars-after-change)
+(add-variable-watcher '+modeline-bar-invisible #'+modeline|setup-bars-after-change)
 
 (def-modeline-segment! +modeline-bar
   (if (active) +modeline-bar-active +modeline-bar-inactive))

                        "git-compare"
                        :face face
                        :v-adjust -0.05)))
                " "
                (propertize (substring vc-mode (+ (if (eq backend 'Hg) 2 3) 2))
                            'face (if active face)))))))


                                 ,(1+ (string-width rhs-str))))))
          rhs-str)))

(setq-default mode-line-format '("" +modeline-bar-start +modeline-format-left +modeline--rest +modeline-bar-end))


;;
