<commit_before>{-# OPTIONS -fglasgow-exts #-}
-----------------------------------------------------------------------------
-- |
-- Module      :  XMonadContrib.FindEmptyWorkspace
-- Copyright   :  (c) <NAME> <<EMAIL>>
-- License     :  BSD3-style (see LICENSE)
--
-- Maintainer  :  <NAME> <<EMAIL>>
-- Stability   :  unstable
-- Portability :  unportable
--
-- GreedyView is an alternative to standard workspace switching.  When a
-- workspace is already visible on another screen, GreedyView swaps the
-- contents of that other screen with the current screen.
--
-----------------------------------------------------------------------------

module XMonadContrib.GreedyView (
                                 -- * Usage
                                 -- $usage
                                 greedyView
                                ) where

import StackSet as W hiding (filter)
import XMonad
import Operations
import Data.List (find)

-- $usage
-- To use GreedyView as your default workspace switcher
--
-- Add this import:
--
-- >     import XMonadContrib.GreedyView<commit_msg>Comment only<commit_after>{-# OPTIONS -fglasgow-exts #-}
-----------------------------------------------------------------------------
-- |
-- Module      :  XMonadContrib.GreedyView
-- Copyright   :  (c) <NAME> <<EMAIL>>
-- License     :  BSD3-style (see LICENSE)
--
-- Maintainer  :  <NAME> <<EMAIL>>
-- Stability   :  unstable
-- Portability :  unportable
--
-- GreedyView is an alternative to standard workspace switching.  When a
-- workspace is already visible on another screen, GreedyView swaps the
-- contents of that other screen with the current screen.
--
-----------------------------------------------------------------------------

module XMonadContrib.GreedyView (
                                 -- * Usage
                                 -- $usage
                                 greedyView
                                ) where

import StackSet as W hiding (filter)
import XMonad
import Operations
import Data.List (find)

-- $usage
-- To use GreedyView as your default workspace switcher
--
-- Add this import:
--
-- >     import XMonadContrib.GreedyView
{'fraction_non_alphanumeric': 0.22981079833871712, 'fraction_numerical': 0.0009229349330872173, 'mean_word_length': 1.2443064182194616, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3982796', 'n_tokens_mistral': 543, 'n_tokens_neox': 524, 'n_words': 164}