Leave access to shellPrompt
This commit is contained in:
parent
8cbaaeb840
commit
b59c77776f
1 changed files with 2 additions and 1 deletions
|
@ -99,6 +99,7 @@ myConfig = desktopConfig
|
|||
, ("M-S-<Left>", shiftToPrev >> prevWS)
|
||||
, ("M-S-<Right>", shiftToNext >> nextWS)
|
||||
, ("M-p", fuzzyPrompt myXPConfig)
|
||||
, ("M-S-p", shellPrompt myXPConfig)
|
||||
, ("<Tab>-b", sendMessage (Toggle "Full"))
|
||||
, ("M-s", spawn "/run/current-system/sw/bin/scrot /tmp/screen.png")
|
||||
, ("M-S-s", spawn "sleep 0.2 ; /run/current-system/sw/bin/scrot -s /tmp/screenSel.png")
|
||||
|
@ -148,7 +149,7 @@ main = xmonad =<< bar myConfig
|
|||
-- Slightly taken from
|
||||
-- https://mail.haskell.org/pipermail/xmonad/2010-October/010671.html
|
||||
data FuzzySpawn = FuzzySpawn deriving (Read, Show)
|
||||
instance XPrompt FuzzySpawn where showXPrompt _ = "Run: "
|
||||
instance XPrompt FuzzySpawn where showXPrompt _ = "RunC: "
|
||||
fuzzyPrompt config = do
|
||||
cmds <- io getCommands
|
||||
let compl s
|
||||
|
|
Loading…
Reference in a new issue