From 3070f08c78151170897b2cd9b80cd94cd7f5799a Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sun, 17 Feb 2013 10:39:02 +0100 Subject: xmonad: Run script which runs emacs Apparently the `runOrRaiseNext' function doesn't like programs with arguments. --- xmonad/xmonad.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmonad') diff --git a/xmonad/xmonad.hs b/xmonad/xmonad.hs index 780f58b..9a80be4 100644 --- a/xmonad/xmonad.hs +++ b/xmonad/xmonad.hs @@ -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), -- cgit v1.2.3-54-g00ecf