summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/Run
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2018-11-26 00:49:33 +0000
committerjao <jao@gnu.org>2018-11-26 00:49:33 +0000
commitc2a125cefb0bf41140db398248a5b8523b46a42e (patch)
treeb45b9e604aa581cfb368ccea4025e07ed31ebca8 /src/Xmobar/Run
parent24c84e47177b6ebbe3df99db53220def6c0951ec (diff)
downloadxmobar-c2a125cefb0bf41140db398248a5b8523b46a42e.tar.gz
xmobar-c2a125cefb0bf41140db398248a5b8523b46a42e.tar.bz2
Xmobar.Config.Parse
Diffstat (limited to 'src/Xmobar/Run')
-rw-r--r--src/Xmobar/Run/Template.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Xmobar/Run/Template.hs b/src/Xmobar/Run/Template.hs
index 5b1e2f2..749edcd 100644
--- a/src/Xmobar/Run/Template.hs
+++ b/src/Xmobar/Run/Template.hs
@@ -75,5 +75,5 @@ splitTemplate alignSep template =
(ce,_:ri) -> [le, ce, ri]
_ -> def
_ -> def
- where [l, r] = if (length alignSep == 2) then alignSep else defaultAlign
+ where [l, r] = if length alignSep == 2 then alignSep else defaultAlign
def = [template, "", ""]