From 23accf6c3acacb1c972961612cce1c7c831b11e7 Mon Sep 17 00:00:00 2001 From: Joan MIlev <51526053+exorcist365@users.noreply.github.com> Date: Tue, 13 Jul 2021 01:01:19 +0300 Subject: Add TopH and BottomH for only controlling height of the window. (#556) --- doc/quick-start.org | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/quick-start.org b/doc/quick-start.org index 4b06057..c8cb6c9 100644 --- a/doc/quick-start.org +++ b/doc/quick-start.org @@ -29,8 +29,8 @@ the =Config= block in your configuration. - =alpha= The transparency. 0 is transparent, 255 is opaque. -- =position= Top, TopP, TopW, TopSize, Bottom, BottomP, BottomW, - BottomSize or Static (with x, y, width and height). +- =position= Top, TopH, TopP, TopW, TopSize, Bottom, BottomH, + BottomP, BottomW, BottomSize or Static (with x, y, width and height). TopP and BottomP take 2 arguments: left padding and right padding. @@ -42,8 +42,22 @@ the =Config= block in your configuration. integer for the percentage width, and an integer for the minimum pixel height that the xmobar window will have. + TopH and BottomH take one argument (Int) which adjusts the bar height. + For example: + #+begin_src haskell + position = TopH 30 + #+end_src + + to make a 30 tall bar on the top, or + + #+begin_src haskell + position = BottomH 30 + #+end_src + + to make a 30 tall bar on the bottom of the screen. + #+begin_src haskell position = BottomW C 75 #+end_src -- cgit v1.2.3