diff --git a/xmonad.hs b/xmonad.hs index 5edaf33520e281855e4e45516ef7b58ee18a8096..d349bd004e896c4ab303eed849ae682d9455705b 100644 --- a/xmonad.hs +++ b/xmonad.hs @@ -236,6 +236,7 @@ myAdditionalKeys = , ((mod4Mask, xK_x), submap . M.fromList $ [ ((0, xK_Return), do { scratchpadAction myScratchPads "terminal" ; focusMaster }) , ((0, xK_p), do { scratchpadAction myScratchPads "perso" ; focusMaster }) + , ((0, xK_d), do { scratchpadAction myScratchPads "discord" ; focusMaster }) , ((0, xK_x), hideAll myScratchPads) ]) ] @@ -246,6 +247,7 @@ myAdditionalKeys = myScratchPads = mkXScratchpads [ ("perso", "st -c perso", className =? "perso") , ("terminal", "st -c terminal", className =? "terminal") + , ("discord", "discord", className =? "discord") ] $ customFloating $ W.RationalRect l t w h where h = 0.9 w = 0.9