summaryrefslogtreecommitdiffhomepage
path: root/Config.hs
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2008-08-06 22:50:29 +0200
committerSpencer Janssen <sjanssen@cse.unl.edu>2008-08-06 22:50:29 +0200
commit9816ff2e0dbb51dded121fb69768555d65f0421c (patch)
tree4f0f9100f3cb869b8cf230100c690440def2fc3c /Config.hs
parent25886ea48e9083240ce09f42755f6ef11455e51f (diff)
downloadxmobar-9816ff2e0dbb51dded121fb69768555d65f0421c.tar.gz
xmobar-9816ff2e0dbb51dded121fb69768555d65f0421c.tar.bz2
Add Support for positioning on certain screens
darcs-hash:20080806205029-a5988-84ceb56437a40b7213082922f55339e31059597a.gz
Diffstat (limited to 'Config.hs')
-rw-r--r--Config.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Config.hs b/Config.hs
index 1f4cab1..764b85c 100644
--- a/Config.hs
+++ b/Config.hs
@@ -1,3 +1,5 @@
+{-# LANGUAGE CPP #-}
+
-----------------------------------------------------------------------------
-- |
-- Module : Xmobar.Config
@@ -54,6 +56,7 @@ data XPosition = Top
| Bottom
| BottomW Align Int
| Static {xpos, ypos, width, height :: Int}
+ | OnScreen Int XPosition
deriving ( Read, Eq )
data Align = L | R | C deriving ( Read, Eq )