summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
authorWill Song <incertia9474@gmail.com>2016-07-16 16:15:33 -0500
committerjao <jao@gnu.org>2016-07-27 01:00:06 +0200
commita93755b2d1e9efbd63723f5302ca7c8f43521aa8 (patch)
treefd6478184be41063af8c618e2bb0932179ba18a5 /xmobar.cabal
parentc98752cad2343932d42d2fef2229581f0c266800 (diff)
downloadxmobar-a93755b2d1e9efbd63723f5302ca7c8f43521aa8.tar.gz
xmobar-a93755b2d1e9efbd63723f5302ca7c8f43521aa8.tar.bz2
Add expandEnv function and use it in PipeReader family of monitors
expandEnv takes a string and expands the environment variables it can find. variable substringing (e.g. ${VAR:1} to lop off the first character) is not supported, but $VAR and ${VAR} formats are, with the former being delimited by punctuation, but not underscores.
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index c0237a0..4a268fb 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -88,6 +88,7 @@ executable xmobar
other-modules:
Xmobar, Actions, Bitmap, Config, Parsers, Commands, Localize,
XUtil, XPMFile, StatFS, Runnable, ColorCache, Window, Signal,
+ Environment,
Plugins, Plugins.BufferedPipeReader,
Plugins.CommandReader, Plugins.Date, Plugins.EWMH,
Plugins.PipeReader, Plugins.MarqueePipeReader,