xmonad_hs_error_.txt

12. Apr, 2022Raw
xmonad.hs:132:15: error:
    • Couldn't match expected type ‘X ()’
                  with actual type ‘XPConfig -> X ()’
    • Probable cause: ‘switchProjectPrompt’ is applied to too few arguments
      In the expression: switchProjectPrompt
      In the expression: ("M-/", switchProjectPrompt)
      In the expression:
        [("M-d", spawn "rofi -show run"),
         ("M-w", spawn "rofi -show window"),
         ("M-S-h", withIWs $ \ tag -> (tag :)),
         ("M-S-s", withIWs $ \ tag -> filter (/= tag)), ....]
    |
132 |     , ("M-/", switchProjectPrompt)
    |               ^^^^^^^^^^^^^^^^^^^