aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2023-11-26 12:53:19 -0700
committerJosh Rahm <joshuarahm@gmail.com>2023-11-26 12:53:19 -0700
commitecbe2eb4cc3785e9e921671d0574cec48c270d42 (patch)
treed4c736950a302f8501e931f5a395f04d48aba02b /src/Main.hs
parent02198e22932192aede4a73e7a121007c76093e5f (diff)
downloadrde-ecbe2eb4cc3785e9e921671d0574cec48c270d42.tar.gz
rde-ecbe2eb4cc3785e9e921671d0574cec48c270d42.tar.bz2
rde-ecbe2eb4cc3785e9e921671d0574cec48c270d42.zip
Better implementation of history.
Each screen now has its own history and if a workspace is swapped with another visible workspace, the history between those screens is also swapped, so this gives a feeling of a kind of persistent history that follows the screen.
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Main.hs b/src/Main.hs
index e2c9407..6166518 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -9,7 +9,7 @@ import Rahm.Desktop.Common
)
import Rahm.Desktop.DMenu (menuCommandString)
import Rahm.Desktop.History (historyHook)
-import Rahm.Desktop.Hooks.WindowChange (withLocationChangeHook)
+import Rahm.Desktop.Hooks.WindowChange (withStackChangeHook)
import Rahm.Desktop.Keys (applyKeys)
import Rahm.Desktop.Layout (myLayout)
import Rahm.Desktop.Logger (LogLevel (Debug, Info), logs)
@@ -81,7 +81,7 @@ main = do
(=<<) X.xmonad $
applyKeys $
- withLocationChangeHook historyHook $
+ withStackChangeHook historyHook $
ewmh $
docks $
def