diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2022-04-24 21:06:10 -0600 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2022-04-24 21:10:00 -0600 |
| commit | 07252ce0461d8746481881dbcc6ca07b71fd8553 (patch) | |
| tree | 6392e713485289bae9b6c25bb6f5da0436a5da61 /src/Main.hs | |
| parent | 1ff9a98f85df0c3df4e3f1c3f332100922d18317 (diff) | |
| download | rde-07252ce0461d8746481881dbcc6ca07b71fd8553.tar.gz rde-07252ce0461d8746481881dbcc6ca07b71fd8553.tar.bz2 rde-07252ce0461d8746481881dbcc6ca07b71fd8553.zip | |
Roll Windows.hs into R.D.StackSet
Diffstat (limited to 'src/Main.hs')
| -rw-r--r-- | src/Main.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Main.hs b/src/Main.hs index bb39e14..25403d4 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -15,7 +15,6 @@ import Text.Printf import Rahm.Desktop.Swallow import Rahm.Desktop.Common -import Rahm.Desktop.Windows import Rahm.Desktop.XMobarLog import Rahm.Desktop.Keys import Rahm.Desktop.Layout @@ -98,7 +97,7 @@ windowHooks (Query readerT) config = do config { startupHook = do - forAllWindows $ \w -> runReaderT readerT w + withWindowSet $ mapM_ (runReaderT readerT) . W.allWindows startupHook config, manageHook = mappend (Query readerT >> return (Endo id)) (manageHook config) |