aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2021-11-02 21:58:50 -0600
committerJosh Rahm <joshuarahm@gmail.com>2022-10-09 12:19:45 -0600
commit80522aff9bcc601b8250024fb517d153dc189024 (patch)
tree731f5e99c0d1b1f2dd82c8e511128de7e8394dfa /src
parentb08e88ef0c569cd000cae836f3c86801a661f8cb (diff)
downloadrde-80522aff9bcc601b8250024fb517d153dc189024.tar.gz
rde-80522aff9bcc601b8250024fb517d153dc189024.tar.bz2
rde-80522aff9bcc601b8250024fb517d153dc189024.zip
Synchronize with the look on photon
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