aboutsummaryrefslogtreecommitdiffstats
path: root/RotView.hs
diff options
context:
space:
mode:
Diffstat (limited to 'RotView.hs')
-rw-r--r--RotView.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/RotView.hs b/RotView.hs
index c7dc6c6..09b6c4e 100644
--- a/RotView.hs
+++ b/RotView.hs
@@ -25,7 +25,7 @@ import Data.Ord ( comparing )
import XMonad
import StackSet hiding (filter)
-import qualified Operations as O
+import Operations
-- $usage
-- You can use this module with the following in your Config.hs file:
@@ -46,4 +46,4 @@ rotView b = do
sortWs = sortBy (comparing tag)
pivoted = uncurry (flip (++)) . span ((< m) . tag) . sortWs . hidden $ ws
nextws = listToMaybe . filter (isJust . stack) . (if b then id else reverse) $ pivoted
- whenJust nextws (O.view . tag)
+ whenJust nextws (windows . view . tag)