aboutsummaryrefslogtreecommitdiff
path: root/gui/conf/xmonad.hs
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-01-31 14:44:07 +0100
committerAdrian Kummerlaender2019-01-31 20:36:04 +0100
commit8baa7a0b67be91fe22d6f668440466ab857554c5 (patch)
tree8017fd56475f5bd5a4a1c0545e52f2c9a980b4d9 /gui/conf/xmonad.hs
parentf63e869f37172460595f8379c49230ff061a5c55 (diff)
downloadnixos_home-8baa7a0b67be91fe22d6f668440466ab857554c5.tar
nixos_home-8baa7a0b67be91fe22d6f668440466ab857554c5.tar.gz
nixos_home-8baa7a0b67be91fe22d6f668440466ab857554c5.tar.bz2
nixos_home-8baa7a0b67be91fe22d6f668440466ab857554c5.tar.lz
nixos_home-8baa7a0b67be91fe22d6f668440466ab857554c5.tar.xz
nixos_home-8baa7a0b67be91fe22d6f668440466ab857554c5.tar.zst
nixos_home-8baa7a0b67be91fe22d6f668440466ab857554c5.zip
Add thesaurus scratchpad
Diffstat (limited to 'gui/conf/xmonad.hs')
-rw-r--r--gui/conf/xmonad.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/conf/xmonad.hs b/gui/conf/xmonad.hs
index e937e74..63845b3 100644
--- a/gui/conf/xmonad.hs
+++ b/gui/conf/xmonad.hs
@@ -102,6 +102,8 @@ scratchpads host =
(customFloating $ hideScreenBorder host dropDownLarge)
, NS "documentation" "zeal" (className =? "Zeal")
(customFloating $ hideScreenBorder host dropDown)
+ , NS "thesaurus" "artha" (className =? "Artha")
+ (customFloating $ hideScreenBorder host sideBarLeft)
, NS "messaging" "telegram-desktop" ((className =? "TelegramDesktop") <&&> (title /=? "Media viewer"))
(customFloating $ hideScreenBorder host sideBarRight) ]
@@ -163,6 +165,7 @@ commonKeybindings host =
-- scratchpads
, ("M-b" , namedScratchpadAction (scratchpads host) "browser")
, ("M-d" , namedScratchpadAction (scratchpads host) "documentation")
+ , ("M-t" , namedScratchpadAction (scratchpads host) "thesaurus")
, ("M-m" , namedScratchpadAction (scratchpads host) "messaging") ] ++
-- workspace selection
[ (p ++ [k] , windows $ f i) | (i, k) <- zip Main.workspaces ['1' .. '9']