[StumpWM] Update modeline

This commit adds the net module at the fourth position on the right
side.

It also modifies the CPU module prefix to a Siji icon representing a
CPU.

`mu-unread' also outputs a Siji icon as its prefix instead of `Mail:'
This commit is contained in:
2021-11-20 23:04:32 +01:00
parent 4131c70a1c
commit c282e91c25
2 changed files with 21 additions and 8 deletions

View File

@@ -265,9 +265,13 @@ sudo chown $USER:(id -g $USER) /opt/flutter/bin/cache
:END:
~mu-unread~ is a very simple utility that simply returns the amount of
unread emails I have through the use of ~mu~.
As you can see, the output string contains two font switchers for
StumpWM so I can switch from the main font to Siji for the caracter
contained between them: U+E072 (an email icon).
#+begin_src sh
UNREAD=$(mu find "flag:unread AND (maildir:/Inbox OR maildir:/Junk)" | wc -l)
printf "Mail: %s" $UNREAD
printf "^f2^f0%s" $UNREAD
#+end_src
** Pinfo :noexport: