diff options
| author | Josh Rahm <rahm@google.com> | 2022-03-28 11:52:34 -0600 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2022-10-09 12:19:45 -0600 |
| commit | 0762cb0962e269caa70d5aa6c012a2a3fc1140c9 (patch) | |
| tree | b9621342d9f16d25ce9ae2fdc1929934e4f8931e /src/Main.hs | |
| parent | c8e3f7627115603cb794deb47505b0506baad7b0 (diff) | |
| download | rde-0762cb0962e269caa70d5aa6c012a2a3fc1140c9.tar.gz rde-0762cb0962e269caa70d5aa6c012a2a3fc1140c9.tar.bz2 rde-0762cb0962e269caa70d5aa6c012a2a3fc1140c9.zip | |
Add (some) ability to send keys to other windows
Diffstat (limited to 'src/Main.hs')
| -rw-r--r-- | src/Main.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Main.hs b/src/Main.hs index b17f62a..0514a99 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -12,12 +12,12 @@ import System.Environment (setEnv) import Data.Monoid import Internal.XMobarLog +import Internal.Windows import Internal.Keys import Internal.Layout import Internal.Logger import Internal.DMenu (menuCommandString) import Internal.RebindKeys -import XMonad.Actions.WithAll (withAll) import qualified XMonad as X import qualified XMonad.StackSet as W @@ -89,7 +89,7 @@ windowHooks (Query readerT) config = do config { startupHook = do - withAll $ \w -> runReaderT readerT w + forAllWindows $ \w -> runReaderT readerT w startupHook config, manageHook = mappend (Query readerT >> return (Endo id)) (manageHook config) |