aboutsummaryrefslogtreecommitdiffstats
path: root/TagWindows.hs
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@unibz.it>2007-10-13 11:04:13 +0200
committerAndrea Rossato <andrea.rossato@unibz.it>2007-10-13 11:04:13 +0200
commit848466e5ebcd2d578b3eeffd4e092868a961943f (patch)
treef286a8f1debe8765dce37ba9faf09258072acb57 /TagWindows.hs
parenta8f77a9bf51b6409afbbd20174447cdf8d685ee7 (diff)
downloadXMonadContrib-848466e5ebcd2d578b3eeffd4e092868a961943f.tar.gz
XMonadContrib-848466e5ebcd2d578b3eeffd4e092868a961943f.tar.xz
XMonadContrib-848466e5ebcd2d578b3eeffd4e092868a961943f.zip
TagWindows.hs: haddock fixes
darcs-hash:20071013090413-32816-34dda90905bcb789615c6bd6f8fc5bd842c01467.gz
Diffstat (limited to 'TagWindows.hs')
-rw-r--r--TagWindows.hs27
1 files changed, 14 insertions, 13 deletions
diff --git a/TagWindows.hs b/TagWindows.hs
index f6d1c7b..172c094 100644
--- a/TagWindows.hs
+++ b/TagWindows.hs
@@ -45,22 +45,23 @@ import XMonad
-- > import XMonadContrib.XPrompt -- to use tagPrompt
--
-- and add keybindings like as follows:
--- , ((modMask, xK_f ), withFocused (addTag "abc"))
--- , ((modMask .|. controlMask, xK_f ), withFocused (delTag "abc"))
--- , ((modMask .|. shiftMask, xK_f ), withTaggedGlobal "abc" sink)
--- , ((modMask, xK_d ), withTaggedP "abc" (shiftWin "2"))
--- , ((modMask .|. shiftMask, xK_d ), withTaggedGlobalP "abc" shiftHere)
--- , ((modMask .|. controlMask, xK_d ), focusUpTaggedGlobal "abc")
--- , ((modMask, xK_g ), tagPrompt defaultXPConfig (\s -> withFocused (addTag s)))
--- , ((modMask .|. controlMask, xK_g ), tagDelPrompt defaultXPConfig)
--- , ((modMask .|. shiftMask, xK_g ), tagPrompt defaultXPConfig (\s -> withTaggedGlobal s float))
--- , ((modWinMask, xK_g ), tagPrompt defaultXPConfig (\s -> withTaggedP s (shiftWin "2")))
--- , ((modWinMask .|. shiftMask, xK_g ), tagPrompt defaultXPConfig (\s -> withTaggedGlobalP s shiftHere))
--- , ((modWinMask .|. controlMask, xK_g), tagPrompt defaultXPConfig (\s -> focusUpTaggedGlobal s))
+--
+-- > , ((modMask, xK_f ), withFocused (addTag "abc"))
+-- > , ((modMask .|. controlMask, xK_f ), withFocused (delTag "abc"))
+-- > , ((modMask .|. shiftMask, xK_f ), withTaggedGlobal "abc" sink)
+-- > , ((modMask, xK_d ), withTaggedP "abc" (shiftWin "2"))
+-- > , ((modMask .|. shiftMask, xK_d ), withTaggedGlobalP "abc" shiftHere)
+-- > , ((modMask .|. controlMask, xK_d ), focusUpTaggedGlobal "abc")
+-- > , ((modMask, xK_g ), tagPrompt defaultXPConfig (\s -> withFocused (addTag s)))
+-- > , ((modMask .|. controlMask, xK_g ), tagDelPrompt defaultXPConfig)
+-- > , ((modMask .|. shiftMask, xK_g ), tagPrompt defaultXPConfig (\s -> withTaggedGlobal s float))
+-- > , ((modWinMask, xK_g ), tagPrompt defaultXPConfig (\s -> withTaggedP s (shiftWin "2")))
+-- > , ((modWinMask .|. shiftMask, xK_g ), tagPrompt defaultXPConfig (\s -> withTaggedGlobalP s shiftHere))
+-- > , ((modWinMask .|. controlMask, xK_g), tagPrompt defaultXPConfig (\s -> focusUpTaggedGlobal s))
--
-- NOTE: Tags are saved as space seperated string and split with 'unwords' thus
-- if you add a tag "a b" the window will have the tags "a" and "b" but not "a b".
---
+
-- %import XMonadContrib.TagWindows
-- %import XMonadContrib.XPrompt -- to use tagPrompt