summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/Config/Parse.hs
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2021-10-31 20:04:48 -0700
committerJohn Soo <jsoo1@asu.edu>2021-11-07 17:49:07 -0800
commitfbb987b3c24b296697d7495048bcd272a63b6533 (patch)
treecfa8afee987c464162eb455f56e821defd5d5844 /src/Xmobar/Config/Parse.hs
parent45f5d80798806a21a693913291ea8c79c07c1e1b (diff)
downloadxmobar-fbb987b3c24b296697d7495048bcd272a63b6533.tar.gz
xmobar-fbb987b3c24b296697d7495048bcd272a63b6533.tar.bz2
Add details to error message regarding purpose of `signal` field.
Diffstat (limited to 'src/Xmobar/Config/Parse.hs')
-rw-r--r--src/Xmobar/Config/Parse.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Xmobar/Config/Parse.hs b/src/Xmobar/Config/Parse.hs
index 123d00d..f7c8b31 100644
--- a/src/Xmobar/Config/Parse.hs
+++ b/src/Xmobar/Config/Parse.hs
@@ -106,7 +106,8 @@ parseConfig defaultConfig =
pAlpha = readField alpha "alpha"
pVerbose = readField verbose "verbose"
- pSignal = field signal "signal" $ fail "use default signal"
+ pSignal = field signal "signal" $
+ fail "signal is meant for use with Xmobar as a library.\n It is not meant for use in the configuration file."
pCommands = field commands "commands" readCommands