From 04c38b6f3bc85cf0291f2aa726d142bfbf9a8b7d Mon Sep 17 00:00:00 2001 From: Hunter Haugen Date: Wed, 16 Dec 2015 22:25:21 +1100 Subject: [PATCH] Add invert color key to xmonad --- .xmonad/xmonad.hs | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index 8bc5e8f..c1ffb45 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -53,14 +53,15 @@ mFocusedBorderColor = "#005577" -- Custom keys -- -mKeys = [ ("M-S-n", sendMessage MirrorShrink ) -- Expand current window - , ("M-S-t", sendMessage MirrorExpand ) -- Shrink current window - , ("M-r" , warpToCorner ) -- Kill the rodent - , ("M-b" , withFocused toggleBorder ) -- Toggle the border of the currently focused window - , ("M-g" , warpToCentre >> promptedWs) -- Gridselect to pick windows - --, ("M-s" , shellPromptHere sp mXPConfig ) -- Shell prompt - , ("M-S-b", spawn "ps -U hunner|grep dzen2|awk '{print $1}'|xargs kill -USR1") -- Bring dzen to the front - , ("M-p" , spawn "dmenu_run") +mKeys = [ ("M-S-n" , sendMessage MirrorShrink ) -- Expand current window + , ("M-S-t" , sendMessage MirrorExpand ) -- Shrink current window + , ("M-r" , warpToCorner ) -- Kill the rodent + , ("M-b" , withFocused toggleBorder ) -- Toggle the border of the currently focused window + , ("M-g" , warpToCentre >> promptedWs) -- Gridselect to pick windows + --, ("M-s" , shellPromptHere sp mXPConfig ) -- Shell prompt + , ("M-M1-C-8", spawn "xcalib -i -a" ) -- Invert screen color + , ("M-S-b" , spawn "ps -U hunner|grep dzen2|awk '{print $1}'|xargs kill -USR1") -- Bring dzen to the front + , ("M-p" , spawn "dmenu_run") , ("", spawn "xlock -mode fzort -echokeys -usefirst" ) -- SCReen LocK -- Sticky/unsticky windows (does not work on workspaces created after the fact)