aboutsummaryrefslogtreecommitdiff
path: root/config/xmonad
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2021-08-03 08:41:54 +0200
committerCharles Cabergs <me@cacharle.xyz>2021-08-03 08:41:54 +0200
commit0c24df5acdcb6e5d261138382f703957419072e5 (patch)
tree10670064e882182fe182fe975104c163fcc1a4c5 /config/xmonad
parent3baf089b119ceb54ac5618bcb64bd0b2dfc80455 (diff)
downloaddotfiles-0c24df5acdcb6e5d261138382f703957419072e5.tar.gz
dotfiles-0c24df5acdcb6e5d261138382f703957419072e5.tar.bz2
dotfiles-0c24df5acdcb6e5d261138382f703957419072e5.zip
Added xmonad Grid layout, Updated vimrc equalprg for C to clang-format, Added LaTexToUnicode toggle command for vim
Diffstat (limited to 'config/xmonad')
-rw-r--r--config/xmonad/xmonad.hs2
1 files changed, 2 insertions, 0 deletions
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