diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-02-28 09:30:16 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-02-28 09:30:16 +0100 |
| commit | d7f0a32d7c5f6935c08f9c4adcab76c1fdc16c78 (patch) | |
| tree | a8ea5b950e9ac0341e8ef65232395397818e993f | |
| parent | b9cbc0f29b8fae8429e6ce4e0165b51a484ac26d (diff) | |
| download | dotfiles-d7f0a32d7c5f6935c08f9c4adcab76c1fdc16c78.tar.gz dotfiles-d7f0a32d7c5f6935c08f9c4adcab76c1fdc16c78.tar.bz2 dotfiles-d7f0a32d7c5f6935c08f9c4adcab76c1fdc16c78.zip | |
Added horizontal reflect of tall layout because main monitor slightly to the left
| -rw-r--r-- | config/xmonad/xmonad.hs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/config/xmonad/xmonad.hs b/config/xmonad/xmonad.hs index 43017c7..78a490f 100644 --- a/config/xmonad/xmonad.hs +++ b/config/xmonad/xmonad.hs @@ -15,6 +15,7 @@ import XMonad.Util.Dmenu import XMonad.Layout.NoBorders import XMonad.Layout.Spacing import XMonad.Layout.Grid +import XMonad.Layout.Reflect -- Hooks import XMonad.Hooks.InsertPosition @@ -34,10 +35,10 @@ main = xmonad $ desktopConfig } `additionalKeysP` myKeys -myLayouts = mySpacing 4 $ tiledVerticalBigMaster -- bigger master for code and smaller slave for compiling - ||| Mirror tiledHorizontalEven -- 50/50 horizontal split - ||| noBorders Full -- disable borders for fullscreen layout - ||| Grid +myLayouts = mySpacing 4 $ reflectHoriz tiledVerticalBigMaster -- main monitor is slighly to the left + ||| tiledVerticalBigMaster -- bigger master for code and smaller slave for compiling + ||| noBorders Full -- disable borders for fullscreen layout + ||| Mirror tiledHorizontalEven -- 50/50 horizontal split where tiledVerticalBigMaster = Tall 1 (3 / 100) (3 / 5) tiledHorizontalEven = Tall 1 (3 / 100) (1 / 2) mySpacing x = spacingRaw True (Border x x x x) False (Border x x x x) True |
