add shortcut for setting working directory
This commit is contained in:
parent
562c8b68fb
commit
be10c83957
1 changed files with 3 additions and 2 deletions
|
@ -7,7 +7,7 @@ import qualified XMonad.StackSet as W
|
||||||
|
|
||||||
import XMonad.Custom.BindingUtils
|
import XMonad.Custom.BindingUtils
|
||||||
import XMonad.Custom.TopicSpace
|
import XMonad.Custom.TopicSpace
|
||||||
|
import XMonad.Custom.Prompt
|
||||||
|
|
||||||
myBasicKeyBindings :: [([Char], X ())]
|
myBasicKeyBindings :: [([Char], X ())]
|
||||||
myBasicKeyBindings = addMainModifierToBinding $ myFocusBindings ++ mySwapBindings ++ myMasterBindings ++ myXMonadBindings ++ myLaunchBindings
|
myBasicKeyBindings = addMainModifierToBinding $ myFocusBindings ++ mySwapBindings ++ myMasterBindings ++ myXMonadBindings ++ myLaunchBindings
|
||||||
|
@ -59,7 +59,8 @@ myMasterBindings = [
|
||||||
myXMonadBindings :: [([Char], X ())]
|
myXMonadBindings :: [([Char], X ())]
|
||||||
myXMonadBindings = [
|
myXMonadBindings = [
|
||||||
("q", restartXMonad),
|
("q", restartXMonad),
|
||||||
("S-q", quitXMonad)
|
("S-q", quitXMonad),
|
||||||
|
("k", promptSetTopicDir myXPConfig)
|
||||||
]
|
]
|
||||||
where
|
where
|
||||||
quitXMonad = io exitSuccess
|
quitXMonad = io exitSuccess
|
||||||
|
|
Loading…
Reference in a new issue