diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2026-01-01 20:29:02 -0700 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2026-01-01 20:29:02 -0700 |
| commit | cb657fa9fc8124bdab42eb148e9b4a8ac69fc05e (patch) | |
| tree | 299ab9c10e0c6c40fe30f38f3c75286a282c6283 /plug/src/Montis/Layout/Full.hs | |
| parent | 88b5144ba82393e9efbffc8ba7ecc225d99dc9ed (diff) | |
| download | montis-cb657fa9fc8124bdab42eb148e9b4a8ac69fc05e.tar.gz montis-cb657fa9fc8124bdab42eb148e9b4a8ac69fc05e.tar.bz2 montis-cb657fa9fc8124bdab42eb148e9b4a8ac69fc05e.zip | |
[refactor] Wetterhorn -> Montis
Diffstat (limited to 'plug/src/Montis/Layout/Full.hs')
| -rw-r--r-- | plug/src/Montis/Layout/Full.hs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/plug/src/Montis/Layout/Full.hs b/plug/src/Montis/Layout/Full.hs new file mode 100644 index 0000000..b2efb91 --- /dev/null +++ b/plug/src/Montis/Layout/Full.hs @@ -0,0 +1,23 @@ +module Montis.Layout.Full where + +import Data.Data (Typeable) +import Data.Default.Class +import Montis.Constraints +import Montis.Core.W +import Montis.StackSet + +data Full = Full + deriving (Read, Show, Typeable) + +instance Default Full where + def = Full + +instance HandleMessage Full + +instance LayoutClass Full where + type LayoutConstraint Full = Unconstrained + + runLayout = pureLayout $ \l _ -> + case l of + (focused -> Just a) -> [(a, RationalRect 1 1 1 1)] + _ -> [] |