diff options
author | Adrian Kummerlaender | 2019-05-30 15:12:32 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2019-05-30 15:12:32 +0200 |
commit | e8689b8ca91d2d27378b85d11db64c6acfae6916 (patch) | |
tree | 98ca293e0a4f1a73156270d29df4fe10756e8167 /gui/conf | |
parent | 9f369fcd5ba63e8930ecfde804447f30e214e0a7 (diff) | |
download | nixos_home-e8689b8ca91d2d27378b85d11db64c6acfae6916.tar nixos_home-e8689b8ca91d2d27378b85d11db64c6acfae6916.tar.gz nixos_home-e8689b8ca91d2d27378b85d11db64c6acfae6916.tar.bz2 nixos_home-e8689b8ca91d2d27378b85d11db64c6acfae6916.tar.lz nixos_home-e8689b8ca91d2d27378b85d11db64c6acfae6916.tar.xz nixos_home-e8689b8ca91d2d27378b85d11db64c6acfae6916.tar.zst nixos_home-e8689b8ca91d2d27378b85d11db64c6acfae6916.zip |
Add calculator scratchpad
Diffstat (limited to 'gui/conf')
-rw-r--r-- | gui/conf/xmonad.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/conf/xmonad.hs b/gui/conf/xmonad.hs index c9c71e5..4a42316 100644 --- a/gui/conf/xmonad.hs +++ b/gui/conf/xmonad.hs @@ -104,6 +104,8 @@ scratchpads host = (customFloating $ hideScreenBorder host dropDown) , NS "thesaurus" "artha" (className =? "Artha") (customFloating $ hideScreenBorder host sideBarLeft) + , NS "calculator" "speedcrunch" (className =? "SpeedCrunch") + (customFloating $ hideScreenBorder host sideBarLeft) , NS "messaging" "telegram-desktop" ((className =? "TelegramDesktop") <&&> (title /=? "Media viewer")) (customFloating $ hideScreenBorder host sideBarRight) ] @@ -167,6 +169,7 @@ commonKeybindings host = , ("M-b" , namedScratchpadAction (scratchpads host) "browser") , ("M-d" , namedScratchpadAction (scratchpads host) "documentation") , ("M-t" , namedScratchpadAction (scratchpads host) "thesaurus") + , ("M-r" , namedScratchpadAction (scratchpads host) "calculator") , ("M-m" , namedScratchpadAction (scratchpads host) "messaging") ] ++ -- workspace selection [ (p ++ [k] , windows $ f i) | (i, k) <- zip Main.workspaces ['1' .. '9'] |