xmonad: Run script which runs emacs
Apparently the `runOrRaiseNext' function doesn't like programs with arguments.
This commit is contained in:
parent
cfab9a2faa
commit
3070f08c78
1 changed files with 2 additions and 2 deletions
|
@ -37,9 +37,9 @@ main = xmonad $ defaultConfig
|
|||
("C-z ,", screenWorkspace 0 >>= flip whenJust (windows . W.view)),
|
||||
("C-z .", screenWorkspace 1 >>= flip whenJust (windows . W.view)),
|
||||
("C-z S-c", spawn "urxvt"),
|
||||
("C-z S-e", spawn "emacsclient -ca emacs"),
|
||||
("C-z S-e", spawn "editor"),
|
||||
("C-z c", runOrRaiseNext "urxvt" (className =? "URxvt")),
|
||||
("C-z e", runOrRaiseNext "emacsclient -ca emacs" (className =? "Emacs")),
|
||||
("C-z e", runOrRaiseNext "editor" (className =? "Emacs")),
|
||||
("C-z w", runOrRaiseNext "conkeror" (className =? "Conkeror")),
|
||||
("M-S-1", spawn "dmenu_run"),
|
||||
("M-n", windows W.focusDown),
|
||||
|
|
Loading…
Reference in a new issue