diff options
| author | Josh Rahm <rahm@google.com> | 2021-10-09 00:06:21 -0600 |
|---|---|---|
| committer | Josh Rahm <rahm@google.com> | 2021-10-09 00:06:21 -0600 |
| commit | 4dc47976f3faf972cd2d5a0b57ea2ace61b532a5 (patch) | |
| tree | e074692b6628a3fb2941369b12989f98e67c04d2 | |
| parent | b5738a4792ea94f0f754aae4137d87ddc2a0f077 (diff) | |
| download | rde-4dc47976f3faf972cd2d5a0b57ea2ace61b532a5.tar.gz rde-4dc47976f3faf972cd2d5a0b57ea2ace61b532a5.tar.bz2 rde-4dc47976f3faf972cd2d5a0b57ea2ace61b532a5.zip | |
Set alacritty to be default terminal and avoid struts
| -rw-r--r-- | src/Internal/Layout.hs | 3 | ||||
| -rw-r--r-- | src/Main.hs | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Internal/Layout.hs b/src/Internal/Layout.hs index 3fae26d..c54ffa7 100644 --- a/src/Internal/Layout.hs +++ b/src/Internal/Layout.hs @@ -1,6 +1,7 @@ {-# LANGUAGE MultiParamTypeClasses, FlexibleInstances #-} module Internal.Layout where +import XMonad.Hooks.ManageDocks import XMonad.Layout.Circle import XMonad.Layout.Accordion import Control.Applicative @@ -18,7 +19,7 @@ import qualified XMonad.StackSet as W myLayout = ModifiedLayout (Zoomable False 0.05 0.05) $ - spacingRaw True (Border 5 5 5 5) True (Border 5 5 5 5) True $ + spacingRaw True (Border 5 5 5 5) True (Border 5 5 5 5) True $ avoidStruts $ spiral (6/7) ||| Tall 1 (3/100) (1/2) ||| ThreeCol 1 (3/100) (1/2) ||| diff --git a/src/Main.hs b/src/Main.hs index 1d07ef8..d4f5dae 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -21,11 +21,10 @@ main = do -- Execute some commands. homeDir <- getHomeDirectory let fp = homeDir </> ".xmonad" </> "startup" - let theLayout = myLayout config <- applyKeys $ def - { terminal = "sakura" + { terminal = "alacritty" , modMask = mod4Mask , borderWidth = 2 , keys = \config -> mempty |