From 0c24df5acdcb6e5d261138382f703957419072e5 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Tue, 3 Aug 2021 08:41:54 +0200 Subject: Added xmonad Grid layout, Updated vimrc equalprg for C to clang-format, Added LaTexToUnicode toggle command for vim --- config/xmonad/xmonad.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config/xmonad') diff --git a/config/xmonad/xmonad.hs b/config/xmonad/xmonad.hs index 769435b..f71ce1d 100644 --- a/config/xmonad/xmonad.hs +++ b/config/xmonad/xmonad.hs @@ -15,6 +15,7 @@ import XMonad.Util.SpawnOnce (spawnOnOnce) import XMonad.Layout.NoBorders (noBorders) import XMonad.Layout.Reflect (reflectHoriz) import XMonad.Layout.Spacing (Border (..), spacingRaw) +import XMonad.Layout.Grid (Grid(..)) -- Hooks import XMonad.Hooks.InsertPosition (Focus (..), Position (..), @@ -42,6 +43,7 @@ layoutHook' = spacing' 4 $ reflectHoriz tiledVerticalBigMaster -- main monitor ||| tiledVerticalBigMaster -- bigger master for code and smaller slave for compiling ||| noBorders Full -- disable borders for fullscreen layout ||| Mirror tiledHorizontalEven -- 50/50 horizontal split + ||| Grid where tiledVerticalBigMaster = Tall 1 (3 / 100) (3 / 5) tiledHorizontalEven = Tall 1 (3 / 100) (1 / 2) spacing' x = spacingRaw True (Border x x x x) False (Border x x x x) True -- cgit