mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 03:20:21 -07:00
Fix GHC warning: -Wdeprecations
Related: https://github.com/xmonad/xmonad-contrib/issues/537
This commit is contained in:
parent
bf55122a82
commit
ea09fc2bf4
@ -147,8 +147,8 @@ arossatoConfig = do
|
||||
, ((modMask x , xK_F3 ), shellPrompt def )
|
||||
, ((modMask x , xK_F4 ), sshPrompt def )
|
||||
, ((modMask x , xK_F5 ), themePrompt def )
|
||||
, ((modMask x , xK_F6 ), windowPromptGoto def )
|
||||
, ((modMask x , xK_F7 ), windowPromptBring def )
|
||||
, ((modMask x , xK_F6 ), windowPrompt def Goto allWindows )
|
||||
, ((modMask x , xK_F7 ), windowPrompt def Bring allWindows )
|
||||
, ((modMask x , xK_comma ), prevWS )
|
||||
, ((modMask x , xK_period), nextWS )
|
||||
, ((modMask x , xK_Right ), windows W.focusDown )
|
||||
|
@ -26,6 +26,7 @@ module XMonad.Util.Scratchpad (
|
||||
import XMonad
|
||||
import qualified XMonad.StackSet as W
|
||||
import XMonad.Util.NamedScratchpad
|
||||
import XMonad.Util.WorkspaceCompare (filterOutWs)
|
||||
|
||||
|
||||
-- $usage
|
||||
@ -111,10 +112,8 @@ scratchpadManageHook rect = namedScratchpadManageHook [NS "" "" scratchpadQuery
|
||||
-- | Transforms a workspace list containing the SP workspace into one that
|
||||
-- doesn't contain it. Intended for use with logHooks.
|
||||
scratchpadFilterOutWorkspace :: [WindowSpace] -> [WindowSpace]
|
||||
scratchpadFilterOutWorkspace = namedScratchpadFilterOutWorkspace
|
||||
scratchpadFilterOutWorkspace = filterOutWs [scratchpadWorkspaceTag]
|
||||
|
||||
|
||||
scratchpadDefaultRect :: W.RationalRect
|
||||
scratchpadDefaultRect = W.RationalRect 0.25 0.375 0.5 0.25
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user