summaryrefslogtreecommitdiffhomepage
path: root/src/Config.hs
diff options
context:
space:
mode:
authorArnout <arnouten@bzzt.net>2012-08-29 00:18:46 +0200
committerArnout <arnouten@bzzt.net>2012-08-29 00:18:46 +0200
commitcae6f2bc049d4b7ed57a7a18a828bc4ea35df4aa (patch)
tree3446d29a8ac0f3a7cbb41d921dbe998e1404d824 /src/Config.hs
parente7cadcd8dee8c2e79e338f67cb27b675aba6bac5 (diff)
downloadxmobar-cae6f2bc049d4b7ed57a7a18a828bc4ea35df4aa.tar.gz
xmobar-cae6f2bc049d4b7ed57a7a18a828bc4ea35df4aa.tar.bz2
Add '-d' for dockapp mode
This makes xmobar work in windowmanagers that support _NET_WM_WINDOW_TYPE_DOCK but not _NET_WM_STRUT, such as Notion
Diffstat (limited to 'src/Config.hs')
-rw-r--r--src/Config.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Config.hs b/src/Config.hs
index a6ad3e2..97040f1 100644
--- a/src/Config.hs
+++ b/src/Config.hs
@@ -77,6 +77,7 @@ data XPosition = Top
| BottomSize Align Int Int
| Static {xpos, ypos, width, height :: Int}
| OnScreen Int XPosition
+ | Docked
deriving ( Read, Eq )
data Align = L | R | C deriving ( Read, Eq )