From ecbe2eb4cc3785e9e921671d0574cec48c270d42 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Sun, 26 Nov 2023 12:53:19 -0700 Subject: 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. --- src/Main.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Main.hs') 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 -- cgit