mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
vanadium/xmonad: I like ratio
This commit is contained in:
parent
3e603eb1e0
commit
e7c50da45f
1 changed files with 4 additions and 3 deletions
|
|
@ -29,6 +29,7 @@ import XMonad.Util.SpawnOnce
|
|||
import XMonad.Layout.Magnifier
|
||||
|
||||
import Data.Char.Greek
|
||||
import Data.Ratio
|
||||
import Data.Semigroup
|
||||
import qualified Data.Map.Strict as M
|
||||
import System.Posix
|
||||
|
|
@ -325,10 +326,10 @@ chatWS :: WorkspaceId
|
|||
chatWS = myWorkspaces !! 3
|
||||
|
||||
centeredFloat, smallFloat, fullFloat, buttomRightFloat :: W.RationalRect
|
||||
centeredFloat = W.RationalRect (1/9) (1/9) (7/9) (7/9)
|
||||
smallFloat = W.RationalRect (3/5) (3/5) (2/7) (2/7)
|
||||
centeredFloat = W.RationalRect (1%9) (1%9) (7%9) (7%9)
|
||||
smallFloat = W.RationalRect (3%5) (3%5) (2%7) (2%7)
|
||||
fullFloat = W.RationalRect 0 0 1 1
|
||||
buttomRightFloat = W.RationalRect (1/2) (1/2) (1/2) (1/2)
|
||||
buttomRightFloat = W.RationalRect (1%2) (1%2) (1%2) (1%2)
|
||||
|
||||
xmobarConfig :: StatusBarConfig
|
||||
xmobarConfig = statusBarProp "xmobar -x 0" (pure myPrettyPrinter)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue