Closed darth-cheney closed 2 years ago
If you insert the string below in the modeline, it should work:
(propertize "Progress"
'display (svg-lib-progress-bar .5 nil :width 9 :margin 1 :stroke 2 :padding 2))
Excellent, that works great. Thanks
Just wanted to follow up: I'm able to use the circular progress indicator to give me some sense of the cursor's position in a document (inside of nano-mode-line):
Works pretty well, though I'm not sure why there is extra space to the right
The regular string that is used to display the icon need to have the same width (2 spaces in that case)
Can you add an example where you put, say, an svg progressbar indicating the cursor position in the header or modeline? In particular I'm interested in how this could be combined with nano-modeline