aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Internal/Layout.hs4
-rw-r--r--src/Main.hs2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/Internal/Layout.hs b/src/Internal/Layout.hs
index c54ffa7..2339cca 100644
--- a/src/Internal/Layout.hs
+++ b/src/Internal/Layout.hs
@@ -10,6 +10,7 @@ import Data.List
import XMonad.Layout.Spiral
import XMonad.Layout.ThreeColumns
import XMonad.Layout.Grid
+import XMonad.Layout.Dishes
import XMonad.Layout
import XMonad.Layout.LayoutModifier
import XMonad
@@ -24,7 +25,8 @@ myLayout =
Tall 1 (3/100) (1/2) |||
ThreeCol 1 (3/100) (1/2) |||
Full |||
- Grid
+ Grid |||
+ Dishes 2 (1/6)
data ResizeZoom = ShrinkZoom | ExpandZoom deriving (Typeable)
diff --git a/src/Main.hs b/src/Main.hs
index 85d18c7..28d50ad 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -81,7 +81,7 @@ main = do
parseOut :: String -> String
parseOut str =
let colors = ["#ff878f", "#e187ff", "#8f87ff", "#87fff7", "#8bff87", "#ffe987", "#ff8787"]
- components = zip (cycle colors) (splitOnAll [" - ", " · ", " "] str)
+ components = zip (cycle colors) (splitOnAll [" - ", " | ", " · ", " "] str)
in concatMap (\(color, str) ->
printf "<fc=%s>%s</fc> " color str) components