summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/Config
diff options
context:
space:
mode:
authorJoan MIlev <51526053+exorcist365@users.noreply.github.com>2021-07-13 01:01:19 +0300
committerGitHub <noreply@github.com>2021-07-12 23:01:19 +0100
commit23accf6c3acacb1c972961612cce1c7c831b11e7 (patch)
tree2b9865fffedb2ed4312d7c768f80bb920cd9c32e /src/Xmobar/Config
parent802cd7ea845b804156ccdcce869526d178cf7e53 (diff)
downloadxmobar-23accf6c3acacb1c972961612cce1c7c831b11e7.tar.gz
xmobar-23accf6c3acacb1c972961612cce1c7c831b11e7.tar.bz2
Add TopH and BottomH for only controlling height of the window. (#556)
Diffstat (limited to 'src/Xmobar/Config')
-rw-r--r--src/Xmobar/Config/Types.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Xmobar/Config/Types.hs b/src/Xmobar/Config/Types.hs
index 8d78f33..c31e460 100644
--- a/src/Xmobar/Config/Types.hs
+++ b/src/Xmobar/Config/Types.hs
@@ -68,10 +68,12 @@ data Config =
} deriving (Read, Show)
data XPosition = Top
+ | TopH Int
| TopW Align Int
| TopSize Align Int Int
| TopP Int Int
| Bottom
+ | BottomH Int
| BottomP Int Int
| BottomW Align Int
| BottomSize Align Int Int