Commit graph

6 commits

Author SHA1 Message Date
6c3bf82014 [polybar] Use notmuch if available to count unread emails 2022-05-26 23:32:52 -07:00
5bcc4de582 [polybar] Several fixes for ‘inbox-size’
- Make the header more robust. If we need to add more argumetns to the scsh
  command-line this will let us do that more easily in the future without having
  to change the header again.

- Don't ‘display’ the result of the call to ‘run’ because that should always be
  ‘0’, unless something went wrong. Regardless, it doesn't belong in the output
  of this program.

- Use ‘rx’ in Emacs to build the regular expression. This is easier to read,
  especially considering how many times a single ‘\’ has to be escaped (once for
  the string in scsh, and once more for the string in Emacs).
2022-03-03 01:20:50 -08:00
88b6ba1760 Update scsh file headers for shell scripts
Other file headers come with caveats:

- ‘#!/usr/bin/scsh -s’ :: Now that scsh is installed through Guix, this is not
  where this file lives.

- ‘#!/usr/bin/env -S scsh -s’ :: This doesn't work when we need to specify move
  arguments on the command line and need to use the meta-argument.
  ‘env -S scsh \’ doesn't work.
2022-03-03 01:17:04 -08:00
fc6b53d4df [polybar] Show how many items there are in my GTD inbox 2022-01-20 21:48:24 -08:00
7c7c01ea76 [polybar] Show the total number of unread emails 2021-11-06 01:15:25 -07:00
4b637506d9 Automatically hide polybar if necessary
xfreerdp doesn’t seem to play nice with Polybar, so hide Polybar whenever
xfreerdp is focused.
2020-04-26 16:17:45 -07:00