From 848466e5ebcd2d578b3eeffd4e092868a961943f Mon Sep 17 00:00:00 2001 From: Andrea Rossato Date: Sat, 13 Oct 2007 11:04:13 +0200 Subject: TagWindows.hs: haddock fixes darcs-hash:20071013090413-32816-34dda90905bcb789615c6bd6f8fc5bd842c01467.gz --- TagWindows.hs | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'TagWindows.hs') 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 -- cgit v1.2.3